[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] scanner: stop raising exception in worker thread



commit 1ccca8abc3c8e32c32b76e3457782549bce9f63c
Author: juga0 <juga@xxxxxxxxxx>
Date:   Tue Jan 8 15:44:28 2019 +0000

    scanner: stop raising exception in worker thread
---
 sbws/core/scanner.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sbws/core/scanner.py b/sbws/core/scanner.py
index f16b148..34bfc5a 100644
--- a/sbws/core/scanner.py
+++ b/sbws/core/scanner.py
@@ -270,11 +270,7 @@ def measure_relay(args, conf, destinations, cb, rl, relay):
 
 
 def dispatch_worker_thread(*a, **kw):
-    try:
-        return measure_relay(*a, **kw)
-    except Exception as err:
-        log.exception('Unhandled exception in worker thread')
-        raise err
+    return measure_relay(*a, **kw)
 
 
 def _should_keep_result(did_request_maximum, result_time, download_times):



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits