Merge pull request #59 from drowe/master

view.php - Exception / Error handling change
This commit is contained in:
Taylor Otwell
2011-08-18 16:07:51 -07:00

View File

@@ -168,7 +168,7 @@ class View {
ob_start() and extract($this->data, EXTR_SKIP);
try { include $this->path.$view.EXT; } catch (\Exception $e) { Error::handle($e); }
try { include $this->path.$view.EXT; } catch (\Exception $e) { Exception\Handler::make($e)->handle(); }
return ob_get_clean();
}