Upgrade to 3.4.4
This commit is contained in:
@@ -111,10 +111,14 @@ trait AppErrors
|
||||
$httpCode = $exception->getHttpCode();
|
||||
$code = $exception->getCode();
|
||||
$details = $exception->getDetails();
|
||||
} else {
|
||||
} elseif (is_a($exception, '\Throwable') === true) {
|
||||
$httpCode = 500;
|
||||
$code = $exception->getCode();
|
||||
$details = null;
|
||||
} else {
|
||||
$httpCode = 500;
|
||||
$code = 500;
|
||||
$details = null;
|
||||
}
|
||||
|
||||
if ($this->option('debug') === true) {
|
||||
|
||||
Reference in New Issue
Block a user