Fixed SimpleException handling
This commit is contained in:
parent
af5650d4f6
commit
a8ef56d42c
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class Bootstrap
|
|||
$this->context->transport->errorMessage = rtrim($e->getMessage(), '.') . '.';
|
||||
$this->context->transport->exception = $e;
|
||||
$this->context->transport->success = false;
|
||||
(new \Chibi\View())->renderFile($this->context->layoutName);
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue