deallocate: ignore all 'requests' exceptions
This commit is contained in:
parent
2e393c145e
commit
101c800237
|
@ -117,8 +117,7 @@ class Channel:
|
||||||
# short timeout and ignore failures
|
# short timeout and ignore failures
|
||||||
requests.post(self._relay_url+"deallocate", data=data,
|
requests.post(self._relay_url+"deallocate", data=data,
|
||||||
timeout=5)
|
timeout=5)
|
||||||
except (requests.exceptions.ConnectionError,
|
except requests.exceptions.RequestException:
|
||||||
requests.exceptions.Timeout):
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class ChannelManager:
|
class ChannelManager:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user