diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-05-16 17:30:00 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-16 17:30:00 +0900 |
| commit | 161bce1a426fe426e2e18d191d2acdfc309e8d7c (patch) | |
| tree | ad3937b507a0c4ed6feec8568a68443c697b69f4 /src | |
| parent | Save remote user's endpoints (diff) | |
| download | sharkey-161bce1a426fe426e2e18d191d2acdfc309e8d7c.tar.gz sharkey-161bce1a426fe426e2e18d191d2acdfc309e8d7c.tar.bz2 sharkey-161bce1a426fe426e2e18d191d2acdfc309e8d7c.zip | |
Update deliver.ts
Diffstat (limited to 'src')
| -rw-r--r-- | src/queue/processors/http/deliver.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/processors/http/deliver.ts b/src/queue/processors/http/deliver.ts index 6810fa4d91..2c4bbe9bf0 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<void> => { done(); } else { console.warn(`deliver failed: ${res.statusMessage}`); - done(res); + done(res.statusMessage); } } }; |