Skip to content

Commit

Permalink
Merge pull request #185 from deanblackborough/v2.12.0
Browse files Browse the repository at this point in the history
Missing import
  • Loading branch information
deanblackborough authored Jun 16, 2020
2 parents 284372d + 6b52eef commit edeb5db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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') {
Expand Down

0 comments on commit edeb5db

Please sign in to comment.