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

Commit 4010d17

Browse files
committed
Fix not pushing error handler
1 parent 396313f commit 4010d17

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)