mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
Use error instaed of warn
This commit is contained in:
parent
862463a13c
commit
0856f4cd12
@ -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