From ed1eb06ae8cdfd58d01051f74fc96db69c0a4891 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sat, 27 Feb 2016 14:48:12 -0800 Subject: [PATCH] blocking/transit: use descriptive error message --- src/wormhole/blocking/transit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wormhole/blocking/transit.py b/src/wormhole/blocking/transit.py index 6cd72c0..2e74ae7 100644 --- a/src/wormhole/blocking/transit.py +++ b/src/wormhole/blocking/transit.py @@ -336,7 +336,7 @@ class Common: self.listener.shutdown() # TODO: waits up to 0.5s. push to thread if self.winning_skt: return self.winning_skt - raise TransitError + raise TransitError("timeout") def describe(self): if not self.winning_skt_description: