chore: Move processing of documents.import to async worker (#6595)

This commit is contained in:
Tom Moor
2024-02-24 12:28:33 -08:00
committed by GitHub
parent 055f518409
commit 168643c084
3 changed files with 117 additions and 24 deletions

View File

@@ -143,7 +143,7 @@ export default function init() {
const task = new TaskClass();
try {
await task.perform(props);
return await task.perform(props);
} catch (err) {
Logger.error(`Error processing task in ${name}`, err, props);
throw err;