add status log to integration test script

This commit is contained in:
Kegan Myers 2020-04-15 01:21:55 -05:00
parent 644b78be2f
commit 624962b106

View file

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