log host and port when error occurs while sending on websocket