You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Not all error status codes raise an exception with the status_code number in the exception string. This leads to silent failures.
Resolution: Adjust the conditional logic (linked above) to always raise an APIError with the status_code if there is an error, not just if the response cannot be decoded from JSON.
The text was updated successfully, but these errors were encountered:
sindri-python/src/sindri/sindri.py
Lines 316 to 329 in ba0200c
Raise an APIError for all error status codes
Issue: Not all error status codes raise an exception with the status_code number in the exception string. This leads to silent failures.
Resolution: Adjust the conditional logic (linked above) to always raise an APIError with the status_code if there is an error, not just if the response cannot be decoded from JSON.
The text was updated successfully, but these errors were encountered: