[tor-commits] [sbws/master] Replace log message by which stream/circuit failed

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


commit e5dca77d1c788cb97bf4beb4273be93b60481d81
Author: juga0 <juga at riseup.net>
Date:   Wed Jul 4 08:08:36 2018 +0000

    Replace log message by which stream/circuit failed
---
 sbws/util/stem.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sbws/util/stem.py b/sbws/util/stem.py
index 7224c10..d52fea2 100644
--- a/sbws/util/stem.py
+++ b/sbws/util/stem.py
@@ -28,7 +28,8 @@ def attach_stream_to_circuit_listener(controller, circ_id):
                 log.warning('Couldn\'t attach stream to circ %s: %s',
                             circ_id, e)
             except Exception as e:
-                log.exception("Exception trying to get ns %s", e)
+                log.exception("Error attaching stream %s to circ %s: %s",
+                              st.id, circ_id, e)
         else:
             pass
     return closure_stream_event_listener





More information about the tor-commits mailing list