aboutsummaryrefslogtreecommitdiff
path: root/src/workers
diff options
context:
space:
mode:
Diffstat (limited to 'src/workers')
-rw-r--r--src/workers/image.worker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/workers/image.worker.ts b/src/workers/image.worker.ts
index c6db44d03..48b4e8585 100644
--- a/src/workers/image.worker.ts
+++ b/src/workers/image.worker.ts
@@ -12,6 +12,6 @@ self.onmessage = async (event: MessageEvent) => {
} catch (error) {
// Send the error back to the main thread
// eslint-disable-next-line @typescript-eslint/no-explicit-any
- self.postMessage({ success: false, error: (error as any).message });
+ self.postMessage({ success: false, docId, error: (error as any).message });
}
};