1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +12:00
This commit is contained in:
fogelito 2024-03-28 12:09:11 +02:00
parent 7a865dbda9
commit 1455fc39e4

View file

@ -303,7 +303,7 @@ class Exception extends \Exception
$this->code = $code ?? $this->errors[$type]['code']; $this->code = $code ?? $this->errors[$type]['code'];
// todo: Handle better PDOExceptions // todo: Handle better PDOExceptions
if(is_string($this->code)){ if(is_string($this->code)) {
$this->code = 500; $this->code = 500;
} }