gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: logging / do not crash on err


From: gnunet
Subject: [taler-wallet-core] branch master updated: logging / do not crash on error
Date: Fri, 28 Aug 2020 18:35:40 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 5c0ee81e logging / do not crash on error
5c0ee81e is described below

commit 5c0ee81e26698293b1d9fc028a9080afb1779b60
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Fri Aug 28 22:05:35 2020 +0530

    logging / do not crash on error
---
 packages/taler-wallet-core/src/operations/withdraw.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts 
b/packages/taler-wallet-core/src/operations/withdraw.ts
index a72a7082..270735fc 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -349,16 +349,16 @@ async function processPlanchetExchangeRequest(
       resp,
       codecForWithdrawResponse(),
     );
-  
-    logger.trace(`got response for /withdraw`);
     return r;
   } catch (e) {
+    logger.trace("withdrawal request failed", e);
+    logger.trace(e);
     if (!(e instanceof OperationFailedError)) {
       throw e;
     }
     const errDetails = e.operationError;
     await ws.db.runWithWriteTransaction([Stores.planchets], async (tx) => {
-      let planchet = await ws.db.getIndexed(Stores.planchets.byGroupAndIndex, [
+      let planchet = await tx.getIndexed(Stores.planchets.byGroupAndIndex, [
         withdrawalGroupId,
         coinIdx,
       ]);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]