From 3b771f4dcd371102de374a17726497122fac3720 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 26 Feb 2018 15:25:52 +0000 Subject: net.connect: Improve error message --- net/connect.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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 -- cgit v1.2.3