Skip to content

Conversation

@rytilahti
Copy link
Owner

Quirk handling causes an exception if the payload cannot be utf-8 decoded.
This wraps all exceptions (instead of just those happening during json decoding) inside PayloadDecodeException for easier downstream handling.

Reported at home-assistant/core#61482

@rytilahti rytilahti added the bug label Mar 15, 2022
@rytilahti rytilahti force-pushed the fix/catch_quirk_exceptions branch from df11142 to be2e569 Compare March 15, 2022 10:54
@rytilahti rytilahti merged commit 04eab3a into master Mar 15, 2022
@rytilahti rytilahti deleted the fix/catch_quirk_exceptions branch March 15, 2022 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants