Skip to content

Commit

Permalink
Update WhoopsErrorHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin committed Jul 7, 2017
1 parent 0c11aa3 commit 2798ef7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Debug/WhoopsErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public function display()
{
error_reporting(E_ALL);

$this->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$handler = new \Whoops\Handler\PrettyPageHandler;

$this->__call('pushHandler', array($handler));

return $this->whoops->register();
}
Expand Down

0 comments on commit 2798ef7

Please sign in to comment.