mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 10:28:00 +00:00
console.log queue errors
This commit is contained in:
@@ -56,6 +56,10 @@ syncSecretsToThirdPartyServices.process(async (job: Job) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
syncSecretsToThirdPartyServices.on("error", (error) => {
|
||||||
|
console.log("QUEUE ERROR:", error)
|
||||||
|
})
|
||||||
|
|
||||||
export const syncSecretsToActiveIntegrationsQueue = (jobDetails: TSyncSecretsToThirdPartyServices) => {
|
export const syncSecretsToActiveIntegrationsQueue = (jobDetails: TSyncSecretsToThirdPartyServices) => {
|
||||||
syncSecretsToThirdPartyServices.add(jobDetails, {
|
syncSecretsToThirdPartyServices.add(jobDetails, {
|
||||||
attempts: 5,
|
attempts: 5,
|
||||||
|
|||||||
Reference in New Issue
Block a user