Skip to content

Propagate serializer errors from ServiceHandler as-is - #47

Merged
bergundy merged 1 commit into
mainfrom
serializer-errors-propagation
Jul 29, 2026
Merged

Propagate serializer errors from ServiceHandler as-is#47
bergundy merged 1 commit into
mainfrom
serializer-errors-propagation

Conversation

@bergundy

Copy link
Copy Markdown
Contributor

Previously ServiceHandler wrapped serializer exceptions during input deserialization and result serialization in a generic RuntimeException, obscuring the original error. Let serializer errors propagate unchanged. IOException from reading the input stream is still wrapped, as it is a distinct concern from serialization.

Previously ServiceHandler wrapped serializer exceptions during input
deserialization and result serialization in a generic RuntimeException,
obscuring the original error. Let serializer errors propagate unchanged.
IOException from reading the input stream is still wrapped, as it is a
distinct concern from serialization.
@bergundy
bergundy requested a review from a team as a code owner July 29, 2026 04:36
@bergundy
bergundy merged commit 4f4762e into main Jul 29, 2026
4 checks passed
@bergundy
bergundy deleted the serializer-errors-propagation branch July 29, 2026 15:50
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