From 101c800237c5321a5c479ac6a03d20548eb8169f Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 12 Nov 2015 10:11:30 -0800 Subject: [PATCH] deallocate: ignore all 'requests' exceptions --- src/wormhole/blocking/transcribe.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wormhole/blocking/transcribe.py b/src/wormhole/blocking/transcribe.py index 0490b72..d66f5b4 100644 --- a/src/wormhole/blocking/transcribe.py +++ b/src/wormhole/blocking/transcribe.py @@ -117,8 +117,7 @@ class Channel: # short timeout and ignore failures requests.post(self._relay_url+"deallocate", data=data, timeout=5) - except (requests.exceptions.ConnectionError, - requests.exceptions.Timeout): + except requests.exceptions.RequestException: pass class ChannelManager: