Skip to content

Commit

Permalink
Merge pull request #6 from khibino/addrinfo-concise-err
Browse files Browse the repository at this point in the history
More concise message for getAddrInfo errors
  • Loading branch information
kazu-yamamoto authored Feb 13, 2024
2 parents f893d03 + f769695 commit 1a8a923
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 1a8a923

Please sign in to comment.