Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: DataCloneError: The object can not be cloned.

thecodrr30437bc6cbf5
diff --git a/apps/web/public/crypto.worker.js b/apps/web/public/crypto.worker.js
index 0b2b320ff..381d53b5c 100644
--- a/apps/web/public/crypto.worker.js
+++ b/apps/web/public/crypto.worker.js
@@ -47,7 +47,7 @@ function onMessage(ev) {
return;
}
} catch (error) {
- sendMessage(type, { error }, messageId);
+ sendMessage(type, { error: error.message }, messageId);
}
}