Closed
Description
The code should be more resilient to server errors and try to reconnect automatically and handle errors gracefully. It exited for me on a 502 error.
node_modules/node_modules/ws/lib/websocket.js:888
abortHandshake(
^
Error: Unexpected server response: 502
at ClientRequest.<anonymous> (/home/thomas/projects/twistori-feed-generator/node_modules/node_modules/ws/lib/websocket.js:888:7)
at ClientRequest.emit (node:events:511:28)
at ClientRequest.emit (node:domain:489:12)
at HTTPParser.parserOnIncomingClient (node:_http_client:693:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:535:22)
at TLSSocket.emit (node:events:511:28)
at TLSSocket.emit (node:domain:489:12)
at addChunk (node:internal/streams/readable:332:12)
at readableAddChunk (node:internal/streams/readable:305:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command
Metadata
Assignees
Labels
No labels
Activity