gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: -fix test


From: gnunet
Subject: [taler-wallet-core] branch master updated: -fix test
Date: Fri, 23 Sep 2022 22:26:17 +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 1d7290487 -fix test
1d7290487 is described below

commit 1d7290487ac8174019e4d98a0c07fa5ab8dcaaf2
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Sep 23 22:26:13 2022 +0200

    -fix test
---
 packages/taler-wallet-cli/src/index.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/packages/taler-wallet-cli/src/index.ts 
b/packages/taler-wallet-cli/src/index.ts
index 5aa7c49f1..6613f256a 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -367,6 +367,7 @@ walletCli
     help: "Run until no more work is left.",
   })
   .maybeOption("maxRetries", ["--max-retries"], clk.INT)
+  .flag("failOnMaxRetries", ["--fail-on-max-retries"])
   .action(async (args) => {
     await withWallet(args, async (wallet) => {
       logger.info("running until pending operations are finished");
@@ -375,7 +376,7 @@ walletCli
         stopWhenDone: true,
       });
       wallet.ws.stop();
-      if (resp.retriesExceeded) {
+      if (resp.retriesExceeded && args.finishPendingOpt.failOnMaxRetries) {
         process.exit(EXIT_RETRIES_EXCEEDED);
       }
     });

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