Fixed SimpleException handling

This commit is contained in:
Marcin Kurczewski 2013-10-06 13:22:58 +02:00
parent af5650d4f6
commit a8ef56d42c

View file

@ -54,6 +54,7 @@ class Bootstrap
$this->context->transport->errorMessage = rtrim($e->getMessage(), '.') . '.'; $this->context->transport->errorMessage = rtrim($e->getMessage(), '.') . '.';
$this->context->transport->exception = $e; $this->context->transport->exception = $e;
$this->context->transport->success = false; $this->context->transport->success = false;
(new \Chibi\View())->renderFile($this->context->layoutName);
} }
catch (Exception $e) catch (Exception $e)
{ {