From 6b52eef7dc95a5d0f735e96e97132e9a20cf5123 Mon Sep 17 00:00:00 2001 From: Dean Blackborough Date: Tue, 16 Jun 2020 16:38:38 +0100 Subject: [PATCH] Missing import - Missing namesapce import --- app/Exceptions/Handler.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 56e88f85..9112a5f5 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -4,6 +4,7 @@ use App\Events\InternalError; use App\Models\ErrorLog; +use App\Response; use Exception; use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; @@ -63,10 +64,10 @@ public function render($request, \Throwable $exception) switch ($status_code) { case 404: - Response::notFound($exception); + Response\Responses::notFound($exception); break; case 503: - Response::maintenance(); + Response\Responses::maintenance(); break; case 500: if (App::environment() === 'local') {