Skip to content

Commit

Permalink
Merge pull request #11 from challgren/patch-1
Browse files Browse the repository at this point in the history
Correcting Middleware use documentation
  • Loading branch information
dereuromark authored Jun 23, 2022
2 parents 43d3e2b + 80c69dd commit ad08ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ with the Whoops handler:
When using new Application.php and Middleware approach, you also need to adjust that:
```php
// Replace ErrorHandlerMiddleware with
->add(new \CakephpWhoops\Error\Middleware\WhoopsHandlerMiddleware())
->add(new \CakephpWhoops\Error\Middleware\WhoopsHandlerMiddleware(Configure::read('Error')))
```

### Debug Mode
Expand Down

0 comments on commit ad08ac4

Please sign in to comment.