mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
Use error instaed of warn
This commit is contained in:
parent
a0ea46a1ae
commit
d9ccb0c668
@ -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();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user