Skip to content

Commit a5316c0

Browse files
committed
don't log job name unless it has one
1 parent 5171ba7 commit a5316c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/queue/QueueProcessorService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
145145
if (!job) return '?';
146146

147147
return {
148-
name: job.name,
148+
name: job.name || undefined,
149149
info: getJobInfo(job),
150150
failedReason: job.failedReason || undefined,
151151
data: job.data,

0 commit comments

Comments
 (0)