mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-22 16:56:50 +01:00
Fix admin exception handler
This commit is contained in:
parent
beb2c9a074
commit
ae6e0d01f6
@ -304,7 +304,7 @@ final class Admin
|
||||
{
|
||||
$this->errors = new Controllers\ErrorsController();
|
||||
set_exception_handler(function (Throwable $exception): void {
|
||||
$this->errors->internalServerError($exception);
|
||||
$this->errors->internalServerError($exception)->send();
|
||||
throw $exception;
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user