Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SFU] Handle ConnectionError exception instead of MaxRetryError (#664)
* [SFU] Handle ConnectionError exception instead of MaxRetryError When we introduced retries in #591, we expected to handle the MaxRetryError exception. Instead, what appears to happen is the MaxRetryError exception block isn't hit, and instead, we get a chain of Exceptions that results in the underlying Exception being raised, which is a ConnectionError. As such, this commit changes the MaxRetryError block to a ConnectionError block, thus returning a more descriptive message to the end user. An early return is also added to avoid a UnboundLocalError when trying to use fetchedData after the Exception was handled. This addresses #663. * [SFU] Add missing period to help text Co-authored-by: Dat Quach <[email protected]> * [SFU] Remove commented out logging statements Co-authored-by: Dat Quach <[email protected]>
- Loading branch information