Skip to content

Commit

Permalink
Return e500 instead of 404
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Apr 7, 2021
1 parent a25eaad commit ff277cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlueScreen/ControllerBlueScreenExceptionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ private function renderBlueScreen(Throwable $exception) : Response
$contents = ob_get_clean();
assert($contents !== false);

return new Response($contents, Response::HTTP_NOT_FOUND);
return new Response($contents, Response::HTTP_INTERNAL_SERVER_ERROR);
}
}

0 comments on commit ff277cd

Please sign in to comment.