diff options
Diffstat (limited to 'packages/taler-wallet-core/src/util/query.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/query.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/util/query.ts b/packages/taler-wallet-core/src/util/query.ts index 025959253..17b713659 100644 --- a/packages/taler-wallet-core/src/util/query.ts +++ b/packages/taler-wallet-core/src/util/query.ts @@ -445,14 +445,15 @@ function runTx<Arg, Res>( if (!gotFunResult) { const msg = "BUG: transaction closed before transaction function returned"; - console.error(msg); + logger.error(msg); + logger.error(`${stack.stack}`); reject(Error(msg)); } resolve(funResult); }; tx.onerror = () => { logger.error("error in transaction"); - logger.error(`${stack}`); + logger.error(`${stack.stack}`); }; tx.onabort = () => { let msg: string; |