From fefc18b8926f92dd0a77e539c4651f9ef3d4cb18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Tue, 18 Apr 2023 23:21:06 +0200 Subject: [PATCH] add error view 500 to app config --- web.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web.php b/web.php index 156f154..839b21c 100644 --- a/web.php +++ b/web.php @@ -108,12 +108,12 @@ $appConfig = [ 'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'], 'antiCsrfTokenExceptions' => ['/oauth/token'], 'loginRouteId' => 'login', - 'error404View' => 'error/404' + 'error404View' => 'error/404', + 'error500View' => 'error/500' ]; $httpReponse = new HttpResponse( Container::$request, - Container::$dbConnection, Container::$routeCollection, $appConfig, $_SERVER['REQUEST_METHOD'],