add error view 500 to app config
This commit is contained in:
parent
6f7455cfa9
commit
540155b7eb
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