Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If a remote motionEye is unavailable an exception was not handled.. this was due to the entirely reasonable expectation `raise_error=False` would not raise an error. This is however not the case as documented in the [tornado.httpclient](https://www.tornadoweb.org/en/stable/httpclient.html#tornado.httpclient.AsyncHTTPClient.fetch) documentation: ``` The raise_error=False argument only affects the HTTPError raised when a non-200 response code is used, instead of suppressing all errors. ``` Not entirely sure the other error 2 paths work either (i.e. `response.error` appears to expect an exception not a string).. but this commit fixes more than we started with and will fix more than it breaks 😄.
- Loading branch information