mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-24 01:32:25 +01:00
Fix errors not being logged when error handlers are called
This commit is contained in:
parent
9e8272b03d
commit
98965fea4c
@ -43,6 +43,6 @@ class Errors extends AbstractController
|
||||
'description' => $this->label('errors.error.' . $name . '.description'),
|
||||
'action' => $action
|
||||
));
|
||||
exit;
|
||||
// Don't exit, otherwise the error will not be logged
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ class Errors
|
||||
Header::status($status);
|
||||
$message = Header::$statuses[$status];
|
||||
require FORMWORK_PATH . 'error.php';
|
||||
exit;
|
||||
// Don't exit, otherwise the error will not be logged
|
||||
}
|
||||
|
||||
public static function exceptionHandler($exception)
|
||||
|
Loading…
x
Reference in New Issue
Block a user