diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index d5b0dc49c..68a748ef9 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -26,7 +26,7 @@ class Handler extends ExceptionHandler \Illuminate\Http\Exception\HttpResponseException::class, ValidationException::class, AuthorizationException::class, - HttpResponseException ::class, + HttpResponseException::class, ModelNotFoundException::class, \Symfony\Component\HttpKernel\Exception\HttpException::class, ]; diff --git a/config/app.php b/config/app.php index bce581ae4..802a479c3 100644 --- a/config/app.php +++ b/config/app.php @@ -12,7 +12,7 @@ return [ | application. If disabled, a simple generic error page is shown. | */ - 'debug' => env('APP_DEBUG', true), + 'debug' => env('APP_DEBUG', false), /* |-------------------------------------------------------------------------- | Error Log