Explorar o código

chore(job-queue-plugin): Improve log message

Michael Bromley hai 1 ano
pai
achega
16285e7c2c

+ 1 - 1
packages/job-queue-plugin/src/bullmq/bullmq-job-queue-strategy.ts

@@ -126,7 +126,7 @@ export class BullMQJobQueueStrategy implements InspectableJobQueueStrategy {
                             takeUntil(completed$),
                         )
                         .subscribe(() => {
-                            Logger.info(`Cancelling job ${job.id ?? ''}`, loggerCtx);
+                            Logger.info(`Setting job ${job.id ?? ''} as cancelled`, loggerCtx);
                             job.cancel();
                         });
                     const result = await processFn(job);