summaryrefslogtreecommitdiff
path: root/src/crypto/workers/synchronousWorker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/workers/synchronousWorker.ts')
-rw-r--r--src/crypto/workers/synchronousWorker.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/crypto/workers/synchronousWorker.ts b/src/crypto/workers/synchronousWorker.ts
index 12eecde9a..b453468d5 100644
--- a/src/crypto/workers/synchronousWorker.ts
+++ b/src/crypto/workers/synchronousWorker.ts
@@ -37,12 +37,10 @@ export class SynchronousCryptoWorkerFactory implements CryptoWorkerFactory {
}
}
-
/**
* Worker implementation that uses node subprocesses.
*/
export class SynchronousCryptoWorker {
-
/**
* Function to be called when we receive a message from the worker thread.
*/
@@ -121,7 +119,7 @@ export class SynchronousCryptoWorker {
return;
}
- this.handleRequest(operation, id, args).catch(e => {
+ this.handleRequest(operation, id, args).catch((e) => {
console.error("Error while handling crypto request:", e);
});
}