summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-05-30 10:59:04 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-30 10:59:04 -0400
commit9d59769db78fd5703935291b83c52ede4b556389 (patch)
tree6edf7e6d71316c8d5289422c8f3041d87ca5fa72 /src/or/circuitbuild.c
parent671c5dcde35d404b53d959f41d52bfdc503a06d6 (diff)
downloadtor-9d59769db78fd5703935291b83c52ede4b556389.tar.gz
tor-9d59769db78fd5703935291b83c52ede4b556389.zip
Improve error message when all permitted Exits are down
The old "No specified non-excluded exit routers seem to be running" message was somewhat confusing. Fix for 7890.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 16cef0e56b..240c64b6d1 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -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;
}