From 1c85b1fbc48f485448502caea26df4f37f620f15 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 15 Jan 2017 13:53:08 -0500 Subject: [PATCH] Fix exception handler misnamed variable --- 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 fedfa1c4b..6aac7cc02 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -49,7 +49,7 @@ class Handler extends ExceptionHandler if ($request->expectsJson()) { $response = response()->json([ 'error' => ($exception instanceof DisplayException) ? $exception->getMessage() : 'An unhandled error occured while attempting to process this request.', - ], ($this->isHttpException($exception)) ? $e->getStatusCode() : 500); + ], ($this->isHttpException($exception)) ? $exception->getStatusCode() : 500); parent::report($exception); }