Skip to content

Commit f769695

Browse files
committed
more concise message for getAddrInfo errors
1 parent f893d03 commit f769695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Network/Socket/Info.hsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ getAddrInfo hints node service = alloc getaddrinfo
273273
"Network.Socket.getAddrInfo (called with preferred socket type/protocol: "
274274
, maybe "Nothing" show hints
275275
, ", host name: "
276-
, show node
276+
, maybe "Nothing" show node
277277
, ", service name: "
278-
, show service
278+
, maybe "Nothing" show service
279279
, ")"
280280
]
281281
#if defined(darwin_HOST_OS)

0 commit comments

Comments
 (0)