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

Commit d2ea270

Browse files
committed
Merge pull request #125 from xtreamwayz/hotfix/124
Fix not pushing error handler
2 parents 3884ee7 + 4010d17 commit d2ea270

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/WhoopsErrorHandler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ protected function handleException(\Exception $exception, Request $request, Resp
7777
{
7878
$this->prepareWhoopsHandler($request);
7979

80+
$this->whoops->pushHandler($this->whoopsHandler);
81+
8082
$response
8183
->getBody()
8284
->write($this->whoops->handleException($exception));

0 commit comments

Comments
 (0)