Deploy on 2026-06-05 02:27:52
This commit is contained in:
@@ -89,7 +89,7 @@ class App
|
||||
*/
|
||||
private function handleException(Throwable $e): void
|
||||
{
|
||||
$code = $e->getCode();
|
||||
$code = (int) $e->getCode();
|
||||
if ($code < 100 || $code > 599) {
|
||||
$code = 500;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user