speeling is hard

This commit is contained in:
Dane Everitt 2020-10-03 12:14:39 -07:00
parent fb482abb9c
commit b4a9a7205d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -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) {