mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix(federation): 🐛 Show error for inbox failures
This commit is contained in:
parent
d527947182
commit
50ebc12783
|
|
@ -123,9 +123,9 @@ export default apiRoute((app) =>
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
inboxWorker.on("failed", (job) => {
|
inboxWorker.on("failed", (job, error) => {
|
||||||
if (job && job.id === result.id) {
|
if (job && job.id === result.id) {
|
||||||
reject(job.returnvalue);
|
reject(error);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue