Catch all exceptions when decoding a JSON response from Exponea.
0.1.7
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`.
0.1.6
Refactored code based on https://github.com/exponea/exponea-python-sdk/pull/3.