# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1519658752 0
# Node ID 69e942c2990f040fd33449ced57c7771fb40f5e8
# Parent  162f75ac2693490a0493ccec463fad68ac6eef7a
net.connect: Improve error message

diff -r 162f75ac2693 -r 69e942c2990f net/connect.lua
--- 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