Diff

net/connect.lua @ 8549:69e942c2990f

net.connect: Improve error message
author Matthew Wild <mwild1@gmail.com>
date Mon, 26 Feb 2018 15:25:52 +0000
parent 8548:162f75ac2693
child 8550:f841d359da65
line wrap: on
line diff
--- a/net/connect.lua	Mon Feb 26 15:25:34 2018 +0000
+++ b/net/connect.lua	Mon Feb 26 15:25:52 2018 +0000
@@ -31,7 +31,7 @@
 			-- 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