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
When the SDK makes requests to the Balena API, it will not catch exceptions raised by the requests package. These exceptions then bubble up to the SDK client. I think it would be nice for the SDK to catch these and return something to the client to indicate the operation failed instead of not handling the exception. The instance I encountered was a call with balena.models.supervisor.reboot() resulting in a requests.exceptions.ReadTimeout.
The text was updated successfully, but these errors were encountered:
ejohnso49
changed the title
Requests that timeout raise exception from SDK
SDK does not handle request exceptions
Apr 26, 2019
When the SDK makes requests to the Balena API, it will not catch exceptions raised by the requests package. These exceptions then bubble up to the SDK client. I think it would be nice for the SDK to catch these and return something to the client to indicate the operation failed instead of not handling the exception. The instance I encountered was a call with
balena.models.supervisor.reboot()
resulting in arequests.exceptions.ReadTimeout
.The text was updated successfully, but these errors were encountered: