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

Commit 422d426

Browse files
committed
Merge branch 'hotfix/125'
Close #125
2 parents 3884ee7 + 680a5f7 commit 422d426

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ All notable changes to this project will be documented in this file, in reverse
1818

1919
### Fixed
2020

21-
- Nothing.
21+
- [#125](https://github.com/zendframework/zend-expressive/pull/125) fixes the
22+
`WhoopsErrorHandler` to ensure it pushes the "pretty page handler" into the
23+
Whoops runtime.
2224

2325
## 0.2.0 - 2015-09-03
2426

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)