From 4010d17e3bc6d8ad95c820113c81cb7529c29abd Mon Sep 17 00:00:00 2001 From: Geert Eltink Date: Tue, 8 Sep 2015 20:18:04 +0200 Subject: [PATCH] Fix not pushing error handler --- src/WhoopsErrorHandler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WhoopsErrorHandler.php b/src/WhoopsErrorHandler.php index a249db54..a2a7931b 100644 --- a/src/WhoopsErrorHandler.php +++ b/src/WhoopsErrorHandler.php @@ -77,6 +77,8 @@ protected function handleException(\Exception $exception, Request $request, Resp { $this->prepareWhoopsHandler($request); + $this->whoops->pushHandler($this->whoopsHandler); + $response ->getBody() ->write($this->whoops->handleException($exception));