Fix errors not being logged when error handlers are called

This commit is contained in:
Giuseppe Criscione 2018-10-13 13:14:18 +02:00
parent 9e8272b03d
commit 98965fea4c
2 changed files with 2 additions and 2 deletions

View File

@ -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
}
}

View File

@ -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)