[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] log the actual failure if Tor fails to start
commit c5dbca0bdc3e4185ca91e9507c1245b36f22c988
Author: meejah <meejah@xxxxxxxxx>
Date: Wed Apr 26 14:18:35 2017 -0600
log the actual failure if Tor fails to start
---
ooni/utils/onion.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/ooni/utils/onion.py b/ooni/utils/onion.py
index 691eda05..c4d5d4c3 100644
--- a/ooni/utils/onion.py
+++ b/ooni/utils/onion.py
@@ -337,6 +337,7 @@ class TorLauncherWithRetries(object):
self.started.callback(state)
def _setup_failed(self, failure):
+ log.msg("Starting Tor failed: {}".format(failure.value))
self.tor_output.seek(0)
map(log.debug, self.tor_output.readlines())
self.tor_output.seek(0)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits