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') {