gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: anastasis: more verbose hint


From: gnunet
Subject: [taler-wallet-core] branch master updated: anastasis: more verbose hint
Date: Tue, 02 Nov 2021 17:22:17 +0100

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 03518ced anastasis: more verbose hint
03518ced is described below

commit 03518ced4816ec9be0fcebf2a04bd0ef0cbdb8a6
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Nov 2 17:22:11 2021 +0100

    anastasis: more verbose hint
---
 packages/anastasis-core/src/index.ts         | 4 ++--
 packages/anastasis-core/src/reducer-types.ts | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/packages/anastasis-core/src/index.ts 
b/packages/anastasis-core/src/index.ts
index 9bb4e347..4323df9c 100644
--- a/packages/anastasis-core/src/index.ts
+++ b/packages/anastasis-core/src/index.ts
@@ -570,7 +570,7 @@ async function uploadSecret(
     if (resp.status !== 204) {
       return {
         code: TalerErrorCode.ANASTASIS_REDUCER_NETWORK_FAILED,
-        hint: "could not upload policy",
+        hint: `could not upload truth (HTTP status ${resp.status})`,
       };
     }
 
@@ -631,7 +631,7 @@ async function uploadSecret(
     if (resp.status !== 204) {
       return {
         code: TalerErrorCode.ANASTASIS_REDUCER_NETWORK_FAILED,
-        hint: "could not upload policy",
+        hint: `could not upload policy (http status ${resp.status})`,
       };
     }
     let policyVersion = 0;
diff --git a/packages/anastasis-core/src/reducer-types.ts 
b/packages/anastasis-core/src/reducer-types.ts
index 2f0d324a..b415bdfc 100644
--- a/packages/anastasis-core/src/reducer-types.ts
+++ b/packages/anastasis-core/src/reducer-types.ts
@@ -73,7 +73,14 @@ export interface ReducerStateBackup {
    */
   policy_providers?: PolicyProvider[];
   success_details?: SuccessDetails;
+
+  /**
+   * Currently requested payments.
+   *
+   * List of taler://pay URIs.
+   */
   payments?: string[];
+
   policy_payment_requests?: {
     payto: string;
     provider: string;

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