aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/connect.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/connect.lua b/net/connect.lua
index 51c36c7b..dbdd3ce6 100644
--- a/net/connect.lua
+++ b/net/connect.lua
@@ -37,7 +37,7 @@ local function attempt_connection(p)
-- No more targets to try
p:log("debug", "No more connection targets to try", p.target_resolver.last_error);
if p.listeners.onfail then
- p.listeners.onfail(p.data, p.target_resolver.last_error or p.last_error or "unable to resolve service");
+ p.listeners.onfail(p.data, p.last_error or p.target_resolver.last_error or "unable to resolve service");
end
return;
end