gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: Print hint to failing command


From: gnunet
Subject: [taler-merchant] branch master updated: Print hint to failing command
Date: Thu, 19 Nov 2020 15:28:11 +0100

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

ms pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new d35c1a6b Print hint to failing command
d35c1a6b is described below

commit d35c1a6b05b1d4e841e73131c6ca67daf02b2e1d
Author: MS <ms@taler.net>
AuthorDate: Thu Nov 19 15:28:02 2020 +0100

    Print hint to failing command
---
 src/backend/taler-merchant-httpd_private-post-reserves.c | 1 +
 src/merchant-tools/taler-merchant-setup-reserve.c        | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-post-reserves.c 
b/src/backend/taler-merchant-httpd_private-post-reserves.c
index e2243936..dae06b2f 100644
--- a/src/backend/taler-merchant-httpd_private-post-reserves.c
+++ b/src/backend/taler-merchant-httpd_private-post-reserves.c
@@ -278,6 +278,7 @@ TMH_private_post_reserves (const struct TMH_RequestHandler 
*rh,
   }
 
   GNUNET_assert (! rc->suspended);
+  printf ("YO\n");
   if (NULL == rc->payto_uri)
   {
     return TALER_MHD_reply_with_error (connection,
diff --git a/src/merchant-tools/taler-merchant-setup-reserve.c 
b/src/merchant-tools/taler-merchant-setup-reserve.c
index 932a76f9..7e89eb44 100644
--- a/src/merchant-tools/taler-merchant-setup-reserve.c
+++ b/src/merchant-tools/taler-merchant-setup-reserve.c
@@ -157,9 +157,10 @@ result_cb (void *cls,
     break;
   default:
     fprintf (stderr,
-             "Unexpected backend failure: %u/%d\n",
+             "Unexpected backend failure: %u/%d\nHint: %s\n",
              hr->http_status,
-             (int) hr->ec);
+             (int) hr->ec,
+             hr->hint);
     global_ret = 1;
     break;
   }

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