Skip to content

Commit

Permalink
more concise message for getAddrInfo errors
Browse files Browse the repository at this point in the history
  • Loading branch information
khibino committed Feb 11, 2024
1 parent f893d03 commit f769695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Network/Socket/Info.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ getAddrInfo hints node service = alloc getaddrinfo
"Network.Socket.getAddrInfo (called with preferred socket type/protocol: "
, maybe "Nothing" show hints
, ", host name: "
, show node
, maybe "Nothing" show node
, ", service name: "
, show service
, maybe "Nothing" show service
, ")"
]
#if defined(darwin_HOST_OS)
Expand Down

0 comments on commit f769695

Please sign in to comment.