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 c3893c2 commit e4845e0Copy full SHA for e4845e0
bin/cmd.js
@@ -22,7 +22,7 @@ if (!arg) {
22
process.exit(1)
23
}
24
25
-if (arg === '--stdin' || arg === '-') stdin.buffer().then(onTorrentId)
+if (arg === '--stdin' || arg === '-') stdin.buffer().then(onTorrentId).catch(error)
26
else if (arg === '--version' || arg === '-v') console.log(require('../package.json').version)
27
else onTorrentId(arg)
28
0 commit comments