Fixed debug message (#10189)

check was inverted
This commit is contained in:
Tony Murray 2019-05-05 05:22:28 -05:00 committed by PipoCanaja
parent 89197581d2
commit 178717eb57

View File

@ -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.'];
}