From b3a2c3537abe7fb567791405dd669a3bae71d5e9 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 18 Aug 2011 12:41:35 -0500 Subject: [PATCH] Fix white screen of death error when view doesn't exist. --- system/view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/view.php b/system/view.php index 81f4c426..bac5682b 100644 --- a/system/view.php +++ b/system/view.php @@ -1,4 +1,4 @@ -path.$view.EXT)) { - throw new \Exception("View [$view] does not exist."); + Exception\Handler::make(new Exception("View [$view] does not exist."))->handle(); } foreach ($this->data as &$data)