Skip to content

Commit 395b69b

Browse files
committed
fix status code
1 parent f478406 commit 395b69b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Exceptions/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function report(Exception $e)
4343
public function render($request, Exception $e)
4444
{
4545
if ($e instanceof ModelNotFoundException) {
46-
$e = new NotFoundHttpException(404, $e->getMessage(), $e);
46+
$e = new NotFoundHttpException($e->getMessage(), $e);
4747
}
4848

4949
return parent::render($request, $e);

0 commit comments

Comments
 (0)