From 178717eb57ecaecbcb16ac9e0e1e23b89f6b23fc Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Sun, 5 May 2019 05:22:28 -0500 Subject: [PATCH] Fixed debug message (#10189) check was inverted --- app/Exceptions/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index a952dd5a46..15b29dd8b1 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -58,7 +58,7 @@ class Handler extends ExceptionHandler protected function convertExceptionToArray(Exception $e) { // override the non-debug error output to clue in user on how to debug - if (config('app.debug') && !$this->isHttpException($e)) { + if (!config('app.debug') && !$this->isHttpException($e)) { return ['message' => 'Server Error: Set APP_DEBUG=true to see details.']; }