Update deliver.ts

This commit is contained in:
syuilo 2018-05-16 17:30:00 +09:00 committed by GitHub
parent 0ef593999f
commit f0687911a6

View file

@ -14,7 +14,7 @@ export default async (job: kue.Job, done): Promise<void> => {
done(); done();
} else { } else {
console.warn(`deliver failed: ${res.statusMessage}`); console.warn(`deliver failed: ${res.statusMessage}`);
done(res); done(res.statusMessage);
} }
} }
}; };