From 617ae903aed0896cec12a1c2790f394f0d7179ff 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web.php b/web.php index 156f154..64d46f7 100644 --- a/web.php +++ b/web.php @@ -108,7 +108,8 @@ $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(