add error view 500 to app config
This commit is contained in:
parent
52b220a8fa
commit
7e23ac7ba1
3
web.php
3
web.php
@ -137,7 +137,8 @@ $appConfig = [
|
|||||||
'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'],
|
'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'],
|
||||||
'antiCsrfTokenExceptions' => [],
|
'antiCsrfTokenExceptions' => [],
|
||||||
'loginRouteId' => 'login',
|
'loginRouteId' => 'login',
|
||||||
'error404View' => 'error/404'
|
'error404View' => 'error/404',
|
||||||
|
'error500View' => 'error/500'
|
||||||
];
|
];
|
||||||
|
|
||||||
$httpReponse = new HttpResponse(
|
$httpReponse = new HttpResponse(
|
||||||
|
Loading…
Reference in New Issue
Block a user