Fix issues with corrupt FTN packets

This commit is contained in:
Bryan Ashby 2019-11-22 21:44:24 -07:00
parent 1aa545e254
commit 7ef224be17
No known key found for this signature in database
GPG key ID: B49EB437951D2542
2 changed files with 36 additions and 9 deletions

View file

@ -42,7 +42,10 @@ function main() {
return next(null);
},
() => {
(err) => {
if(err) {
return console.error(`Error processing packet: ${err.message}`);
}
console.info('');
console.info('--- EOF --- ');
console.info('');