From a5316c06ed770b60f7b4c7ff5aa8c71cc0558db7 Mon Sep 17 00:00:00 2001
From: Hazel K <acomputerdog@gmail.com>
Date: Tue, 8 Oct 2024 11:01:24 -0400
Subject: [PATCH] don't log job name unless it has one

---
 packages/backend/src/queue/QueueProcessorService.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/backend/src/queue/QueueProcessorService.ts b/packages/backend/src/queue/QueueProcessorService.ts
index 83fce60ff011..7fdfba55a79d 100644
--- a/packages/backend/src/queue/QueueProcessorService.ts
+++ b/packages/backend/src/queue/QueueProcessorService.ts
@@ -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,