[tor-commits] [tor/master] Improve the message of validate_pluggable_transports_config().

nickm at torproject.org nickm at torproject.org
Thu Apr 19 21:49:54 UTC 2012


commit 9d9b5ed0c65e2c6669a047706122b650f16870cb
Author: George Kadianakis <desnacked at riseup.net>
Date:   Thu Apr 12 01:27:58 2012 +0200

    Improve the message of validate_pluggable_transports_config().
---
 src/or/circuitbuild.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 1c7367a..359771e 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -4802,10 +4802,11 @@ validate_pluggable_transports_config(void)
          pluggable transports. We should warn the user in such case,
          since it's probably misconfiguration. */
       if (!transport_get_by_name(b->transport_name))
-        log_warn(LD_CONFIG, "You have a Bridge line using the %s "
-                 "pluggable transport, but there doesn't seem to be a "
-                 "corresponding ClientTransportPlugin line.",
-                 b->transport_name);
+        log_warn(LD_CONFIG, "We can't find a pluggable transport proxy "
+                 "that supports '%s' for bridge '%s:%u'. This can happen "
+                 "if you haven't provided a ClientTransportPlugin line, or "
+                 "if your pluggable transport proxy stopped working.",
+                 b->transport_name, fmt_addr(&b->addr), b->port);
     } SMARTLIST_FOREACH_END(b);
 
     return 0;





More information about the tor-commits mailing list