From e12f7c3026dd513a6444092ea7654598c71548ae Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Tue, 29 May 2018 12:59:09 -0700 Subject: Remove outdated comments --- packages/connect/src/ws_orderbook_channel.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'packages/connect') diff --git a/packages/connect/src/ws_orderbook_channel.ts b/packages/connect/src/ws_orderbook_channel.ts index 01aaf4fd2..e6a1322d2 100644 --- a/packages/connect/src/ws_orderbook_channel.ts +++ b/packages/connect/src/ws_orderbook_channel.ts @@ -68,12 +68,10 @@ export class WebSocketOrderbookChannel implements OrderbookChannel { this._client.close(); } private _handleWebSocketMessage(message: any): void { - // if we get a message with no data, alert all handlers and return if (_.isUndefined(message.data)) { this._handler.onError(this, new Error(`Message does not contain utf8Data`)); return; } - // try to parse the message data and route it to the correct handler try { const utf8Data = message.data; const parserResult = orderbookChannelMessageParser.parse(utf8Data); -- cgit