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

commit 0b63d3dee4f644bcf38dee8daa01d9384a619613 Author: juga0 <juga@riseup.net> 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)
participants (1)
-
juga@torproject.org