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
commit9d03b17bc8b26605b66f56ce088b4a4dbf0d7852 (patch)
tree8664bb2c58df9edf9e553e9c68b66d8e86933cd1 /net/connect.lua
parentfe3541a340559514fc9e66b61e9068c3979b906f (diff)
downloadprosody-9d03b17bc8b26605b66f56ce088b4a4dbf0d7852.tar.gz
prosody-9d03b17bc8b26605b66f56ce088b4a4dbf0d7852.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