summaryrefslogtreecommitdiff
path: root/src/queue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-03-09 18:15:44 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-03-09 18:15:44 +0900
commit948a133b7bf6744e57ea0751ba1d8ed7e2f90eda (patch)
tree8569814ffd22e921812d01da862794497e073fcb /src/queue
parent10.92.3 (diff)
downloadsharkey-948a133b7bf6744e57ea0751ba1d8ed7e2f90eda.tar.gz
sharkey-948a133b7bf6744e57ea0751ba1d8ed7e2f90eda.tar.bz2
sharkey-948a133b7bf6744e57ea0751ba1d8ed7e2f90eda.zip
Fix log
Diffstat (limited to 'src/queue')
-rw-r--r--src/queue/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts
index 3b3f0b72b5..eccb38b5e2 100644
--- a/src/queue/index.ts
+++ b/src/queue/index.ts
@@ -38,11 +38,11 @@ deliverQueue
inboxQueue
.on('waiting', (jobId) => inboxLogger.debug(`waiting id=${jobId}`))
- .on('active', (job) => inboxLogger.debug(`active id=${job.id} to=${job.data.to}`))
- .on('completed', (job, result) => inboxLogger.debug(`completed(${result}) id=${job.id} to=${job.data.to}`))
- .on('failed', (job, err) => inboxLogger.debug(`failed(${err}) id=${job.id} to=${job.data.to}`))
+ .on('active', (job) => inboxLogger.debug(`active id=${job.id}`))
+ .on('completed', (job, result) => inboxLogger.debug(`completed(${result}) id=${job.id}`))
+ .on('failed', (job, err) => inboxLogger.debug(`failed(${err}) id=${job.id}`))
.on('error', (error) => inboxLogger.error(`error ${error}`))
- .on('stalled', (job) => inboxLogger.warn(`stalled id=${job.id} to=${job.data.to}`));
+ .on('stalled', (job) => inboxLogger.warn(`stalled id=${job.id}`));
export function deliver(user: ILocalUser, content: any, to: any) {
if (content == null) return null;