Removed error-logging from RegexBlockStream FIXME

release-1.0
Ruakij 3 years ago
parent 99a3e13d77
commit d14e469ef4

@ -84,9 +84,8 @@ if(errorMsg){
else loggerTcpdump.error(data); else loggerTcpdump.error(data);
}); });
regexBlockStream.on('error', (err) => { // FIXME: This is a hacky workaround to not let errors from subprocess bubble up and terminate our process
if(err) loggerTcpdump.error(err); regexBlockStream.on('error', (err) => {});
})
proc.on("error", (err) => { proc.on("error", (err) => {
loggerTcpdump.error(err); loggerTcpdump.error(err);

Loading…
Cancel
Save