aboutsummaryrefslogtreecommitdiffstats
path: root/net/connect.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-02-26 15:25:52 +0000
committerMatthew Wild <mwild1@gmail.com>2018-02-26 15:25:52 +0000
commit3b771f4dcd371102de374a17726497122fac3720 (patch)
tree8664bb2c58df9edf9e553e9c68b66d8e86933cd1 /net/connect.lua
parent8b8926d7bbf78a0990ab77881fc9a9e9e79721f7 (diff)
downloadprosody-3b771f4dcd371102de374a17726497122fac3720.tar.gz
prosody-3b771f4dcd371102de374a17726497122fac3720.zip
net.connect: Improve error message
Diffstat (limited to 'net/connect.lua')
-rw-r--r--net/connect.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/connect.lua b/net/connect.lua
index c76d78f3..a0f51499 100644
--- a/net/connect.lua
+++ b/net/connect.lua
@@ -31,7 +31,7 @@ local function attempt_connection(p)
-- No more targets to try
p:log("debug", "No more connection targets to try");
if p.listeners.onfail then
- p.listeners.onfail(p.data, p.last_error or "unable to connect to service");
+ p.listeners.onfail(p.data, p.last_error or "unable to resolve service");
end
return;
end