Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #125 from xtreamwayz/hotfix/124
Browse files Browse the repository at this point in the history
Fix not pushing error handler
  • Loading branch information
weierophinney committed Sep 10, 2015
2 parents 3884ee7 + 4010d17 commit d2ea270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/WhoopsErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit d2ea270

Please sign in to comment.