From 7e23ac7ba16c45ca2a6271145984ee21af13d286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Thu, 20 Apr 2023 00:04:59 +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 c430db8..be89445 100644 --- a/web.php +++ b/web.php @@ -137,7 +137,8 @@ $appConfig = [ 'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'], 'antiCsrfTokenExceptions' => [], 'loginRouteId' => 'login', - 'error404View' => 'error/404' + 'error404View' => 'error/404', + 'error500View' => 'error/500' ]; $httpReponse = new HttpResponse(