speeling is hard
This commit is contained in:
parent
fb482abb9c
commit
b4a9a7205d
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class Handler extends ExceptionHandler
|
||||||
: ($exception instanceof ValidationException ? '422' : '500'),
|
: ($exception instanceof ValidationException ? '422' : '500'),
|
||||||
'detail' => $exception instanceof HttpExceptionInterface
|
'detail' => $exception instanceof HttpExceptionInterface
|
||||||
? $exception->getMessage()
|
? $exception->getMessage()
|
||||||
: 'An unexpected error was ecnountered while processing this request, please try again.',
|
: 'An unexpected error was encountered while processing this request, please try again.',
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($exception instanceof ModelNotFoundException || $exception->getPrevious() instanceof ModelNotFoundException) {
|
if ($exception instanceof ModelNotFoundException || $exception->getPrevious() instanceof ModelNotFoundException) {
|
||||||
|
|
Loading…
Reference in a new issue