Better logging message

master
Edward Shen 2022-08-02 02:11:32 -07:00
parent 9004c4ed29
commit 909de7f2fa
Signed by: edward
GPG Key ID: 19182661E818369F
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ addEventListener('message', (event: MessageEvent<BgData>) => {
let { location, data } = event.data;
console.log('[js-worker] Sending data to rust in a worker thread...');
encrypt_array_buffer(location, data).then(url => {
console.log("done buffer");
console.log("[js-worker] Encryption done.");
postMessage(url);
}).catch(e => console.error(e));
})