[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: nicer logging
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: nicer logging |
Date: |
Fri, 12 May 2017 22:41:19 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 005d790 nicer logging
005d790 is described below
commit 005d7902200f1eabf1d413fd0ff805ffe56e1ca7
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri May 12 22:40:43 2017 +0200
nicer logging
---
src/backend/taler-merchant-httpd.c | 3 ++-
src/lib/merchant_api_pay.c | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd.c
b/src/backend/taler-merchant-httpd.c
index c32fe06..1abee1e 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -1109,7 +1109,8 @@ run (void *cls,
MHD_OPTION_END);
if (NULL == mhd)
{
- GNUNET_break (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Failed to launch HTTP service, exiting.\n");
GNUNET_SCHEDULER_shutdown ();
return;
}
diff --git a/src/lib/merchant_api_pay.c b/src/lib/merchant_api_pay.c
index 632a8ac..47a7b8f 100644
--- a/src/lib/merchant_api_pay.c
+++ b/src/lib/merchant_api_pay.c
@@ -335,6 +335,12 @@ TALER_MERCHANT_pay_wallet (struct GNUNET_CURL_Context *ctx,
}
TALER_amount_hton (&dr.deposit_fee,
&fee);
+ {
+ TALER_LOG_DEBUG ("... amount_with_fee was %s\n",
+ TALER_amount2s (&coin->amount_with_fee));
+ TALER_LOG_DEBUG ("... fee was %s\n",
+ TALER_amount2s (&fee));
+ }
GNUNET_CRYPTO_eddsa_sign (&coin->coin_priv.eddsa_priv,
&dr.purpose,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: nicer logging,
gnunet <=