Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom error handlers colliding #21

Open
bogdanghervan opened this issue Dec 26, 2014 · 0 comments
Open

Custom error handlers colliding #21

bogdanghervan opened this issue Dec 26, 2014 · 0 comments
Labels
Milestone

Comments

@bogdanghervan
Copy link
Member

The error handler set by the SlimJson middleware collides with our own error handler. We need to somehow merge the two error handlers.

Right now, any exception thrown in any of the routes returning JSON shows up in the response as {e:{}}, since the thought-to-be-global error handler overrides the one set by the SlimJson middleware.

@bogdanghervan bogdanghervan added this to the v.1.0.0-beta milestone Dec 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant