]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Improve error message when all permitted Exits are down
authorNick Mathewson <nickm@torproject.org>
Tue, 30 May 2017 14:59:04 +0000 (10:59 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 30 May 2017 14:59:04 +0000 (10:59 -0400)
The old "No specified non-excluded exit routers seem to be running"
message was somewhat confusing.

Fix for 7890.

changes/bug7890 [new file with mode: 0644]
src/or/circuitbuild.c

diff --git a/changes/bug7890 b/changes/bug7890
new file mode 100644 (file)
index 0000000..1daec58
--- /dev/null
@@ -0,0 +1,4 @@
+  o Minor bugfixes (logging):
+    - Use a more comprehensible log message when telling the user they've
+      excluded every running exit node. Fixes bug 7890; bugfix on
+      0.2.2.25-alpha.
index 16cef0e56bf90d09b4ceb59ab7a112a068b0f47c..240c64b6d11234aa637bf2ab84f64fde9bcde831 100644 (file)
@@ -1956,9 +1956,10 @@ choose_good_exit_server_general(int need_uptime, int need_capacity)
   }
   if (options->ExitNodes) {
     log_warn(LD_CIRC,
-             "No specified %sexit routers seem to be running: "
+             "No exits in ExitNodes%s seem to be running: "
              "can't choose an exit.",
-             options->ExcludeExitNodesUnion_ ? "non-excluded " : "");
+             options->ExcludeExitNodesUnion_ ?
+             ", except possibly those excluded by your configuration, " : "");
   }
   return NULL;
 }