Removed error-logging from RegexBlockStream FIXME

This commit is contained in:
Ruakij 2021-11-29 15:35:53 +01:00
parent 99a3e13d77
commit d14e469ef4

View File

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