From 7108cf8b63dd81a15162fa21de2b666f0d6d5257 Mon Sep 17 00:00:00 2001 From: Manish Verma Date: Thu, 4 May 2017 02:41:44 +0530 Subject: [PATCH] release updates disabled debug mode in default configuration --- app/Exceptions/Handler.php | 2 +- config/app.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index d5b0dc49c7..68a748ef92 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 bce581ae47..802a479c37 100644 --- a/config/app.php +++ b/config/app.php @@ -12,7 +12,7 @@ | application. If disabled, a simple generic error page is shown. | */ - 'debug' => env('APP_DEBUG', true), + 'debug' => env('APP_DEBUG', false), /* |-------------------------------------------------------------------------- | Error Log