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

[tor-commits] [sbws/master] destination: log the reason why can't build circuit



commit 0b63d3dee4f644bcf38dee8daa01d9384a619613
Author: juga0 <juga@xxxxxxxxxx>
Date:   Sun Dec 9 11:03:39 2018 +0000

    destination: log the reason why can't build circuit
---
 sbws/lib/destination.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbws/lib/destination.py b/sbws/lib/destination.py
index c081f89..0b27f39 100644
--- a/sbws/lib/destination.py
+++ b/sbws/lib/destination.py
@@ -200,7 +200,7 @@ class DestinationList:
                     break
             if not circ_id:
                 log.warning('Unable to build a circuit to test the usability '
-                            'of %s. Assuming it isn\'t usable.', dest.url)
+                            'of %s, %s', dest.url, reason)
                 continue
             log.debug('Built circ %s %s to test usability of %s', circ_id,
                       stem_utils.circuit_str(cont, circ_id), dest.url)



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