diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index e3c01023..3dabc68c 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -43,7 +43,7 @@ public function report(Exception $e) public function render($request, Exception $e) { if ($e instanceof ModelNotFoundException) { - $e = new NotFoundHttpException(404, $e->getMessage(), $e); + $e = new NotFoundHttpException($e->getMessage(), $e); } return parent::render($request, $e);