fix use of 'catch' instead of 'try'

This commit is contained in:
Kegan Myers 2020-04-15 01:29:08 -05:00
parent a6e83683d5
commit 0bc45be287

View file

@ -36,7 +36,7 @@ const infoHash = '(m.%5bO%83i%85S(3j%c1%26%3a%e0*z%60%d5';
'expected every response entry to resemble ip:port',
);
});
})().catch(
})().then(
() => {
console.log('ok!');
process.exit(0);