console.log queue errors

This commit is contained in:
Maidul Islam
2023-08-11 19:47:15 -04:00
parent b11cd29943
commit 01e613301a

View File

@@ -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,