Use error instaed of warn

This commit is contained in:
syuilo 2018-04-06 14:39:28 +09:00
parent a0ea46a1ae
commit d9ccb0c668

View File

@ -14,7 +14,7 @@ export default (job, done) => {
if (handler) {
handler(job, done);
} else {
console.warn(`Unknown job: ${job.data.type}`);
console.error(`Unknown job: ${job.data.type}`);
done();
}
};