feat: refs #7644 Fix msg print

This commit is contained in:
Guillermo Bonet 2024-07-31 12:25:26 +02:00
parent 1a2ed9ce68
commit 8edb115c2b
1 changed files with 4 additions and 2 deletions

View File

@ -35,8 +35,10 @@ module.exports = {
logger.error(`[Print] => ${err.message}`); logger.error(`[Print] => ${err.message}`);
}); });
cluster.on('queue', () => cluster.on('queue', () => {
process.env.SPEC_IS_RUNNING === 'false' && logger.info('Printing task initialized by pool')); if (process.env.SPEC_IS_RUNNING !== 'true')
logger.info('Printing task initialized by pool');
});
}); });
} }
}; };