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

Don't allow unchecked exception to propagate #1785

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

kilink
Copy link
Member

@kilink kilink commented Jan 18, 2024

If Jackson serialization fails, a checked exception is thrown in WebsocketGraphQLWSProtocolHandler, but the library code written in Java is written to only catch runtime exceptions; switch to throwing a runtime exception so that the appropriate error handler is called.

Fixes #1629

If Jackson serialization fails, a checked exception is thrown in WebsocketGraphQLWSProtocolHandler, but
the library code written in Java is written to only catch runtime exceptions; switch to throwing a
runtime exception so that the appropriate error handler is called.
@kilink kilink merged commit 835e63f into master Jan 18, 2024
3 checks passed
@kilink kilink deleted the checked-exception-propagation branch January 25, 2024 04:57
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.

bug: ObjectMapper Exception is swallowed by WebsocketGraphQLTransportWSProtocolHandler
2 participants