commit c5dbca0bdc3e4185ca91e9507c1245b36f22c988 Author: meejah meejah@meejah.ca 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@lists.torproject.org