sinks.carbon_socket: fix logging of socket.error from getaddrinfo as such