From f0687911a661bf68fc8ab3381330e698371bbc2f Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 16 May 2018 17:30:00 +0900 Subject: [PATCH] Update deliver.ts --- src/queue/processors/http/deliver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue/processors/http/deliver.ts b/src/queue/processors/http/deliver.ts index 6810fa4d9..2c4bbe9bf 100644 --- a/src/queue/processors/http/deliver.ts +++ b/src/queue/processors/http/deliver.ts @@ -14,7 +14,7 @@ export default async (job: kue.Job, done): Promise => { done(); } else { console.warn(`deliver failed: ${res.statusMessage}`); - done(res); + done(res.statusMessage); } } };