chore (backend): failed deliver logs should be info
This commit is contained in:
parent
aa2b35a554
commit
d086b7b993
1 changed files with 2 additions and 2 deletions
|
@ -70,10 +70,10 @@ deliverQueue
|
|||
),
|
||||
)
|
||||
.on("failed", (job, err) =>
|
||||
deliverLogger.warn(`failed(${err}) ${getJobInfo(job)} to=${job.data.to}`),
|
||||
deliverLogger.info(`failed(${err}) ${getJobInfo(job)} to=${job.data.to}`),
|
||||
)
|
||||
.on("error", (job: any, err: Error) =>
|
||||
deliverLogger.error(`error ${err}`, { job, e: renderError(err) }),
|
||||
deliverLogger.warn(`error ${err}`, { job, e: renderError(err) }),
|
||||
)
|
||||
.on("stalled", (job) =>
|
||||
deliverLogger.warn(`stalled ${getJobInfo(job)} to=${job.data.to}`),
|
||||
|
|
Loading…
Reference in a new issue