Skip to content

Releases: exponea/exponea-python-sdk

Bug fix: Catch all incorrect responses

31 Oct 08:27
Compare
Choose a tag to compare

Catch all exceptions when decoding a JSON response from Exponea.

Catch erroneous response

30 Oct 10:20
Compare
Choose a tag to compare

Currently, the SDK was applying

result = json.loads(response.text)

without catching any errors. Exponea sometimes returns a non-JSON format response which causes this to crash.
I've added logging the response from Exponea and raising APIException.

Refactoring code

03 Oct 16:12
baca280
Compare
Choose a tag to compare

Refactored code based on #3.