hypercore-protocol / cli

A CLI for peer-to-peer file sharing using the Hypercore Protocol.
MIT License
205 stars 17 forks source link

Errors getting dumped during "hyp info --live" #26

Closed pfrazee closed 3 years ago

pfrazee commented 3 years ago

This error will dump into the CLI output and make everything ugly:

Error: Block not available from peers
    at Object.decode (/Users/paulfrazee/.nvm/versions/node/v14.15.1/lib/node_modules/@hyperspace/cli/node_modules/@hyperspace/rpc/index.js:11:17)
    at RPC._onmessage (/Users/paulfrazee/.nvm/versions/node/v14.15.1/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/index.js:113:33)
    at Parser._nextState (/Users/paulfrazee/.nvm/versions/node/v14.15.1/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/parser.js:127:14)
    at Parser._readMessage (/Users/paulfrazee/.nvm/versions/node/v14.15.1/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/parser.js:54:19)
    at Parser.recv (/Users/paulfrazee/.nvm/versions/node/v14.15.1/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/parser.js:35:44)
    at RPC._write (/Users/paulfrazee/.nvm/versions/node/v14.15.1/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/index.js:170:22)
    at WritableState.update (/Users/paulfrazee/.nvm/versions/node/v14.15.1/lib/node_modules/@hyperspace/cli/node_modules/streamx/index.js:168:14)
    at updateWriteNT (/Users/paulfrazee/.nvm/versions/node/v14.15.1/lib/node_modules/@hyperspace/cli/node_modules/streamx/index.js:479:6)
    at processTicksAndRejections (internal/process/task_queues.js:79:21) {
  code: '',
  errno: 0,
  details: ''
}