From 01e613301a3f5ada4c8083949cef3e493de61328 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 11 Aug 2023 19:47:15 -0400 Subject: [PATCH] console.log queue errors --- .../queues/integrations/syncSecretsToThirdPartyServices.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts b/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts index 6d998e31f..7de760cd9 100644 --- a/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts +++ b/backend/src/queues/integrations/syncSecretsToThirdPartyServices.ts @@ -56,6 +56,10 @@ syncSecretsToThirdPartyServices.process(async (job: Job) => { } }) +syncSecretsToThirdPartyServices.on("error", (error) => { + console.log("QUEUE ERROR:", error) +}) + export const syncSecretsToActiveIntegrationsQueue = (jobDetails: TSyncSecretsToThirdPartyServices) => { syncSecretsToThirdPartyServices.add(jobDetails, { attempts: 5,