Update deliver.ts
This commit is contained in:
parent
0ef593999f
commit
f0687911a6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue