gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: wallet-core: fix withdrawal e


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: fix withdrawal error reporting
Date: Mon, 26 Jun 2023 19:51:04 +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 18a3d764d wallet-core: fix withdrawal error reporting
18a3d764d is described below

commit 18a3d764deb534dfa0f46981539ec4119dcc6c0f
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Jun 26 19:51:01 2023 +0200

    wallet-core: fix withdrawal error reporting
---
 packages/taler-wallet-core/src/operations/withdraw.ts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts 
b/packages/taler-wallet-core/src/operations/withdraw.ts
index e3897f84e..d606e23dd 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -1615,6 +1615,19 @@ async function processWithdrawalGroupPendingReady(
 
   notifyTransition(ws, transactionId, res.transitionInfo);
 
+  if (numPlanchetErrors > 0) {
+    return {
+      type: OperationAttemptResultType.Error,
+      errorDetail: makeErrorDetail(
+        TalerErrorCode.WALLET_WITHDRAWAL_GROUP_INCOMPLETE,
+        {
+          errorsPerCoin,
+          numErrors: numPlanchetErrors,
+        },
+      ),
+    };
+  }
+
   return {
     type: OperationAttemptResultType.Finished,
     result: undefined,

-- 
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]