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

Commit

Permalink
Merge branch 'hotfix/125' into develop
Browse files Browse the repository at this point in the history
Forward port #125
  • Loading branch information
weierophinney committed Sep 10, 2015
2 parents 1ceee91 + 680a5f7 commit 51e76df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

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

## 0.2.0 - 2015-09-03

Expand Down
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 51e76df

Please sign in to comment.