Commit 399892dd authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #59 from drowe/master

view.php - Exception / Error handling change
parents 766e54aa b5f7f664
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment