don't log job name unless it has one

This commit is contained in:
Hazel K 2024-10-08 11:01:24 -04:00
parent 5171ba7113
commit a5316c06ed

View file

@ -145,7 +145,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
if (!job) return '?';
return {
name: job.name,
name: job.name || undefined,
info: getJobInfo(job),
failedReason: job.failedReason || undefined,
data: job.data,