aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-11-01 22:30:32 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-11-01 22:30:32 +0100
commitb4f2c5e007fc9c6f1bae4871e2acc395402bc949 (patch)
tree89e8a0840be4be4906fac9b7f174d17b6f3a825e
parent3292bbb94f53b867c91ddcb22cce84c8af9d4449 (diff)
downloadmerchant-b4f2c5e007fc9c6f1bae4871e2acc395402bc949.tar.gz
merchant-b4f2c5e007fc9c6f1bae4871e2acc395402bc949.tar.bz2
merchant-b4f2c5e007fc9c6f1bae4871e2acc395402bc949.zip
logging
-rw-r--r--src/backend/taler-merchant-httpd_proposal.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_proposal.c b/src/backend/taler-merchant-httpd_proposal.c
index 107f93cf..6afd275b 100644
--- a/src/backend/taler-merchant-httpd_proposal.c
+++ b/src/backend/taler-merchant-httpd_proposal.c
@@ -479,6 +479,13 @@ proposal_put (struct MHD_Connection *connection,
refund_deadline.abs_value_us)
{
GNUNET_JSON_parse_free (spec);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "invariant failed: wire_transfer_deadline >= refund_deadline\n");
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "wire_transfer_deadline: %s\n",
+ GNUNET_STRINGS_absolute_time_to_string (
+ wire_transfer_deadline));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "refund_deadline: %s\n",
+ GNUNET_STRINGS_absolute_time_to_string (refund_deadline));
return TMH_RESPONSE_reply_arg_invalid
(connection,
TALER_EC_PARAMETER_MALFORMED,