aboutsummaryrefslogtreecommitdiff
path: root/src/workers/image.worker.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-08-15 12:13:28 -0400
committerbobzel <zzzman@gmail.com>2025-08-15 12:13:28 -0400
commit1577b92b3d66a26c0df45db9122b47be809ebe83 (patch)
tree94e3c6073e201ba460fb16758e2bff2c34112111 /src/workers/image.worker.ts
parentcabd82bea8eb4c69f60c8b5d4f987cf484123ecd (diff)
cleaned up image background removal code a bit and added undo
Diffstat (limited to 'src/workers/image.worker.ts')
-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 });
}
};