|
@@ -13,7 +13,7 @@ discard block |
|
|
block discarded – undo |
|
13
|
13
|
* You should have received a copy of the GNU General Public License |
|
14
|
14
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
15
|
15
|
*/ |
|
16
|
|
-declare(strict_types=1); |
|
|
16
|
+declare(strict_types = 1); |
|
17
|
17
|
|
|
18
|
18
|
namespace Fisharebest\Webtrees\Http\Controllers; |
|
19
|
19
|
|
|
@@ -80,7 +80,7 @@ discard block |
|
|
block discarded – undo |
|
80
|
80
|
if ($throwable instanceof HttpException) { |
|
81
|
81
|
return $this->viewResponse('alerts/danger', ['alert' => $throwable->getMessage()], $throwable->getStatusCode()); |
|
82
|
82
|
} else { |
|
83
|
|
- var_dump($throwable);exit; |
|
|
83
|
+ var_dump($throwable); exit; |
|
84
|
84
|
return $this->viewResponse('alerts/danger', ['alert' => $throwable->getMessage()], Response::HTTP_INTERNAL_SERVER_ERROR); |
|
85
|
85
|
} |
|
86
|
86
|
} |
Please login to merge, or discard this patch.