Update deliver.ts

This commit is contained in:
syuilo 2018-05-16 17:30:00 +09:00 committed by GitHub
parent 66437f31c0
commit 161bce1a42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
};