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

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



commit e5dca77d1c788cb97bf4beb4273be93b60481d81
Author: juga0 <juga@xxxxxxxxxx>
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



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