mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 21:26:33 +02:00
Let unhandled rejection handler handle rejections in jobs
This commit is contained in:
@@ -14,4 +14,4 @@ const handlers = {
|
||||
unfollow
|
||||
};
|
||||
|
||||
export default (job, done) => handlers[job.data.type](job).then(() => done(), done);
|
||||
export default (job, done) => handlers[job.data.type](job, done);
|
||||
|
||||
Reference in New Issue
Block a user