Better logging message
This commit is contained in:
parent
9004c4ed29
commit
909de7f2fa
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ addEventListener('message', (event: MessageEvent<BgData>) => {
|
||||||
let { location, data } = event.data;
|
let { location, data } = event.data;
|
||||||
console.log('[js-worker] Sending data to rust in a worker thread...');
|
console.log('[js-worker] Sending data to rust in a worker thread...');
|
||||||
encrypt_array_buffer(location, data).then(url => {
|
encrypt_array_buffer(location, data).then(url => {
|
||||||
console.log("done buffer");
|
console.log("[js-worker] Encryption done.");
|
||||||
postMessage(url);
|
postMessage(url);
|
||||||
}).catch(e => console.error(e));
|
}).catch(e => console.error(e));
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue