Merge pull request #59 from drowe/master
view.php - Exception / Error handling change
This commit is contained in:
commit
399892ddda
|
@ -168,7 +168,7 @@ public function get()
|
||||||
|
|
||||||
ob_start() and extract($this->data, EXTR_SKIP);
|
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();
|
return ob_get_clean();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue