added errormessage on websocket