-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hello,
I've noticed that when asynchornous call is being used and the authentification token expires, the call never runs the callback.
If synchorous call is used, the call uses BambouHTTPError exception with error code 401.
When asynchronous call encouter error 404, it does run the provided callback and the response can be checked for the status_code, but this doesn't happen in case of error 401 ( haven't managed to try with all the other error events )
Would it be possible to make the asynchronous calls to run the callback in all ocasions in order to deal with possile errors returned back from the API ?
Many thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels