From a8ef56d42c4904973ffad1f16ed54dce08366022 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 6 Oct 2013 13:22:58 +0200 Subject: [PATCH] Fixed SimpleException handling --- src/Bootstrap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bootstrap.php b/src/Bootstrap.php index 75cfa1a1..55b659f8 100644 --- a/src/Bootstrap.php +++ b/src/Bootstrap.php @@ -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) {