Skip to content

Conversation

@ponyisi
Copy link
Collaborator

@ponyisi ponyisi commented Nov 5, 2024

Resolve #502. Do not assume that error responses from the backend are JSON except for specific HTTP codes.

@codecov
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.41%. Comparing base (6356444) to head (f483c6d).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #510      +/-   ##
==========================================
+ Coverage   83.32%   83.41%   +0.09%     
==========================================
  Files          27       27              
  Lines        1577     1586       +9     
==========================================
+ Hits         1314     1323       +9     
  Misses        263      263              
Flag Coverage Δ
unittests 83.41% <100.00%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@BenGalewsky BenGalewsky left a comment

Choose a reason for hiding this comment

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

Ahhh, nice to see this annoying bug fixed

@BenGalewsky BenGalewsky merged commit 7a080f5 into master Nov 14, 2024
42 checks passed
@BenGalewsky BenGalewsky deleted the 474_non_json_errors branch November 14, 2024 14:28
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.

HTTP error handling in client often implicitly expects response to be JSON

3 participants