mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
err, data
This commit is contained in:
parent
b42577e3ad
commit
1433a7aecf
@ -247,7 +247,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
|
||||
.on('completed', (job, result) => inboxLogger.debug(`completed(${result}) ${getJobInfo(job, true)}`))
|
||||
.on('failed', (job, err) => inboxLogger.warn(
|
||||
`failed(${err.message}) ${getJobInfo(job)} activity=${job ? (job.data.activity ? job.data.activity.id : 'none') : '-'}`,
|
||||
{ data: job?.data, err: renderError(err) }
|
||||
{ err: renderError(err), data: job?.data }
|
||||
))
|
||||
.on('error', (err: Error) => inboxLogger.error('error', { err: renderError(err) }))
|
||||
.on('stalled', (jobId) => inboxLogger.warn(`stalled id=${jobId}`));
|
||||
|
Loading…
Reference in New Issue
Block a user