We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f478406 commit 395b69bCopy full SHA for 395b69b
app/Exceptions/Handler.php
@@ -43,7 +43,7 @@ public function report(Exception $e)
43
public function render($request, Exception $e)
44
{
45
if ($e instanceof ModelNotFoundException) {
46
- $e = new NotFoundHttpException(404, $e->getMessage(), $e);
+ $e = new NotFoundHttpException($e->getMessage(), $e);
47
}
48
49
return parent::render($request, $e);
0 commit comments