Skip to content

Commit eda072d

Browse files
Cater for other 5xx exceptions
1 parent 85866b7 commit eda072d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exception/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ protected function getStatusCode(Throwable $exception)
215215
}
216216

217217
// Be extra defensive
218-
if ($statusCode < 100 || $statusCode > 500) {
218+
if ($statusCode < 100 || $statusCode > 599) {
219219
$statusCode = 500;
220220
}
221221

0 commit comments

Comments
 (0)