mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 17:53:08 +02:00
Use error instaed of warn
This commit is contained in:
parent
862463a13c
commit
0856f4cd12
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default (job, done) => {
|
||||||
if (handler) {
|
if (handler) {
|
||||||
handler(job, done);
|
handler(job, done);
|
||||||
} else {
|
} else {
|
||||||
console.warn(`Unknown job: ${job.data.type}`);
|
console.error(`Unknown job: ${job.data.type}`);
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue