log websocket errors