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

Fix for invalid JSON handling on latest 'bottle' #974

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

sirosen
Copy link
Collaborator

@sirosen sirosen commented Sep 10, 2024

bottle v0.13 captures any JSON decoding errors and reraises them as an
HTTPError exception with no inner 'exception' object and a body of
'Invalid JSON'.

Catching and handling these explicitly ensures that webargs behavior
is stable on the newer version of bottle.

bottle v0.13 captures any JSON decoding errors and reraises them as an
HTTPError exception with no inner 'exception' object and a body of
'Invalid JSON'.

Catching and handling these explicitly ensures that webargs behavior
is stable on the newer version of bottle.
@lafrech lafrech merged commit 9e7ec13 into marshmallow-code:dev Sep 11, 2024
8 checks passed
@lafrech
Copy link
Member

lafrech commented Sep 11, 2024

Thanks!

@lafrech
Copy link
Member

lafrech commented Sep 11, 2024

Fix released. Have a nice day.

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.

2 participants