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
Currently the code can handle errors from the AnVIL API (in the anvil-api-calls branch) but it does not handle other exceptions from the requests module, eg ConnectionError, TimeoutError, etc.
Currently the code can handle errors from the AnVIL API (in the
anvil-api-calls
branch) but it does not handle other exceptions from therequests
module, egConnectionError
,TimeoutError
, etc.Some stack overflow posts about this:
https://stackoverflow.com/questions/48723711/python-mock-requests-post-to-throw-exception
https://stackoverflow.com/questions/36096379/python-requests-mock-doesnt-catch-timeout-exception
https://stackoverflow.com/questions/20885841/how-do-i-simulate-connection-errors-and-request-timeouts-in-python-unit-tests
The text was updated successfully, but these errors were encountered: