We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3389f6 commit 8c01cb7Copy full SHA for 8c01cb7
lib/client/websocket-tracker.js
@@ -154,7 +154,7 @@ WebSocketTracker.prototype._onSocketData = function (data) {
154
} else if (data.action === 'scrape') {
155
self._onScrapeResponse(data)
156
} else {
157
- throw new Error('invalid action in WS response: ' + data.action)
+ self._onSocketError(new Error('invalid action in WS response: ' + data.action))
158
}
159
160
0 commit comments