Skip to content

Conversation

@hrueger
Copy link

@hrueger hrueger commented Dec 14, 2025

Hi,
this fixes the following crash:
grafik

Copy link
Contributor

@d-buchmann d-buchmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this function should never hard crash (e.g. on response status codes 500+), therefore I'd rather check if there is any content in the response, and if not, return empty.

@hrueger hrueger requested a review from d-buchmann December 15, 2025 08:44
Copy link
Contributor

@d-buchmann d-buchmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can still throw a TransportException, but if it does, I think it's actually useful to let the user know =)

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