aboutsummaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json_helper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index 2e5241b5a..11aeceefb 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -106,6 +106,11 @@ parse_amount (void *cls,
r_amount->currency)) )
{
GNUNET_break_op (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Expected currency `%s', but amount used currency `%s' in field `%s'\n",
+ currency,
+ r_amount->currency,
+ spec->field);
return GNUNET_SYSERR;
}
return GNUNET_OK;