diff options
author | MS <ms@taler.net> | 2020-11-19 15:28:02 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2020-11-19 15:28:02 +0100 |
commit | d35c1a6b05b1d4e841e73131c6ca67daf02b2e1d (patch) | |
tree | 5415d5d6c7deddecd3e73609f990d7dcd822db26 | |
parent | de5dc9a27698647ba36f733df4cb0fed63608b63 (diff) |
Print hint to failing command
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-reserves.c | 1 | ||||
-rw-r--r-- | 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; } |