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

Only trap key errors by default in debug, not all BadRequest errors #2739

Merged
merged 1 commit into from
Apr 28, 2018

Conversation

davidism
Copy link
Member

closes #2735

In order to make debugging key errors from request.form easier, #2348 trapped BadRequest errors by default in debug mode. However, this caught all BadRequest errors, not just BadRequestKeyError. This changes the behavior so BadRequestKeyError is caught in debug mode, but abort(400) still passes through.

@davidism davidism added the bug label Apr 28, 2018
@davidism davidism added this to the 1.0.1 milestone Apr 28, 2018
@davidism davidism self-assigned this Apr 28, 2018
@davidism davidism merged commit 4c8ec8f into 1.0-maintenance Apr 28, 2018
@davidism davidism deleted the 2735-abort-debug branch April 28, 2018 14:01
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant