Skip to content

Commit 7355bb6

Browse files
Merge pull request #1755 from specialtactics/bugfix/cater-to-5xx-exceptions
Cater for other 5xx exceptions
2 parents 85866b7 + eda072d commit 7355bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exception/Handler.php

+1-1
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)