work on debugging websocket exceptions