diff --git a/src/Debug/WhoopsErrorHandler.php b/src/Debug/WhoopsErrorHandler.php index e410b96c..d1a4017e 100644 --- a/src/Debug/WhoopsErrorHandler.php +++ b/src/Debug/WhoopsErrorHandler.php @@ -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(); }