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

Prevent deprecation notice based on triggering error middleware #395

Conversation

weierophinney
Copy link
Member

Users cannot yet set the raiseThrowables flag, as there are not shipped facilities for handling errors using templates or whoops. As such, currently, if the queue is exhausted or an exception is thrown, error middleware is triggered. This patch adds an error handler to Application::__invoke() to swallow deprecation notices due to invocation of error middleware.

Users cannot yet set the raiseThrowables flag, as there are not shipped
facilities for handling errors using templates or whoops. As such,
currently, if the queue is exhausted or an exception is thrown, error
middleware is triggered. This patch adds an error handler to
`Application::__invoke()` to swallow deprecation notices due to
invocation of error middleware.
@weierophinney weierophinney added this to the 1.0.3 milestone Nov 11, 2016
@weierophinney weierophinney self-assigned this Nov 11, 2016
@weierophinney weierophinney merged commit f6bc9da into zendframework:master Nov 11, 2016
weierophinney added a commit that referenced this pull request Nov 11, 2016
weierophinney added a commit that referenced this pull request Nov 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant