Logging errors properly
Websocket error net::ERR_NAME_NOT_RESOLVED - fixed