From 1ce2361daf1a4b17568f47f6486d08c168d0bc87 Mon Sep 17 00:00:00 2001 From: llmII Date: Mon, 6 Sep 2021 09:02:56 -0500 Subject: [PATCH] Better error message in connect Quick thing to help check when failing tests. --- src/core/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/net.c b/src/core/net.c index e85f2991..1f1f3f04 100644 --- a/src/core/net.c +++ b/src/core/net.c @@ -445,7 +445,7 @@ JANET_CORE_FN(cfun_net_connect, } freeaddrinfo(ai); if (NULL == rp) { - janet_panic("could not bind to any sockets"); + janet_panic("could not bind outgoing address"); } /* Connect to socket */