diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-14 15:53:50 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-14 15:53:50 +0530 |
commit | 953cd9dc41ff3d52d23fe77f4ba3c18281e9d58f (patch) | |
tree | 17ff47fea3651dad192beee5d32c5fd4c538fa39 /packages/taler-wallet-core/src/crypto/workers | |
parent | e3850158c249d890399fdb9e083ec7e654a8380f (diff) | |
download | wallet-core-953cd9dc41ff3d52d23fe77f4ba3c18281e9d58f.tar.xz |
nuke some console.log statements, test wallet testing functionality in integration test
Diffstat (limited to 'packages/taler-wallet-core/src/crypto/workers')
-rw-r--r-- | packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts b/packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts index 802a153ff..7d322877a 100644 --- a/packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts +++ b/packages/taler-wallet-core/src/crypto/workers/cryptoApi.ts @@ -203,21 +203,21 @@ export class CryptoApi { handleWorkerError(ws: WorkerState, e: any): void { if (ws.currentWorkItem) { - console.error( + logger.error( `error in worker during ${ws.currentWorkItem.operation}`, e, ); } else { - console.error("error in worker", e); + logger.error("error in worker", e); } - console.error(e.message); + logger.error(e.message); try { if (ws.w) { ws.w.terminate(); ws.w = null; } } catch (e) { - console.error(e); + logger.error(e); } if (ws.currentWorkItem !== null) { ws.currentWorkItem.reject(e); |