diff --git a/jobs/server/utils/dummy.ts b/jobs/server/utils/dummy.ts index e8db9a2..5009462 100644 --- a/jobs/server/utils/dummy.ts +++ b/jobs/server/utils/dummy.ts @@ -23,3 +23,7 @@ export const dummyWorker = new Worker( dummyWorker.on("failed", async (job, error) => { logger.error(`Dummy job ${job?.name} failed with error: ${error.message}`); }); + +dummyWorker.on("completed", async (job) => { + logger.success(job.returnvalue.message); +});