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

Allow next middleware handle error in handleParseErrors #2260

Merged
merged 1 commit into from
Jul 12, 2016

Conversation

mejcz
Copy link

@mejcz mejcz commented Jul 12, 2016

I think it's a good idea to allow next middlewares to handle errors. Fox example I would love to report errors from parse-server to (for example) Rollbar. But unfortunately they're handled in handleParseErrors function already (I think 'Uncaught internal server error.' message is unfortunate in this case...). This would allow me to use another error handler in my application. It won't change a thing in parse-server logic and I (and others) would be pleased to have it.

@flovilmart
Copy link
Contributor

This seems to be a good idea! Thanks for your contribution

@mejcz mejcz closed this Jul 12, 2016
@mejcz mejcz reopened this Jul 12, 2016
@flovilmart flovilmart merged commit 3c1da3c into parse-community:master Jul 12, 2016
@flovilmart flovilmart modified the milestone: 2.2.17 Jul 12, 2016
rsouzas pushed a commit to back4app/parse-server that referenced this pull request Mar 15, 2017
rsouzas pushed a commit to back4app/parse-server that referenced this pull request Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants