[tor-commits] [sbws/master] Replace log message, unify with previous log

pastly at torproject.org pastly at torproject.org
Wed Jul 11 15:05:40 UTC 2018


commit db7ebb39df4bc34341eea870a27704c87a75db70
Author: juga0 <juga at riseup.net>
Date:   Wed Jul 4 08:24:26 2018 +0000

    Replace log message, unify with previous log
---
 sbws/util/stem.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sbws/util/stem.py b/sbws/util/stem.py
index 255ce22..b4190ef 100644
--- a/sbws/util/stem.py
+++ b/sbws/util/stem.py
@@ -196,7 +196,9 @@ def launch_tor(conf):
         cont.set_conf('__DisablePredictedCircuits', '1')
         cont.set_conf('__LeaveStreamsUnattached', '1')
     except Exception as e:
-        log.exception("Exception trying to launch tor %s", e)
+        log.exception("Error trying to launch tor: %s. "
+                      "Maybe the tor directory is being used by other "
+                      "sbws instance?", e)
         exit(1)
     log.info('Started and connected to Tor %s via %s', cont.get_version(),
              conf['tor']['control_socket'])





More information about the tor-commits mailing list