From e1b2900ebe2b82a627fbc272800716896af6d793 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 9 Jun 2016 14:54:50 +0200 Subject: more verbose message to help diagnose issues --- src/exchange/taler-exchange-httpd_admin.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/exchange/taler-exchange-httpd_admin.c b/src/exchange/taler-exchange-httpd_admin.c index b8bba20b7..f150374bf 100644 --- a/src/exchange/taler-exchange-httpd_admin.c +++ b/src/exchange/taler-exchange-httpd_admin.c @@ -161,7 +161,10 @@ TMH_ADMIN_handler_admin_add_incoming (struct TMH_RequestHandler *rh, if (0 != strcasecmp (amount.currency, TMH_exchange_currency_string)) { - GNUNET_break_op (0); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Exchange uses currency `%s', but /admin/add/incoming tried to use currency `%s'\n", + TMH_exchange_currency_string, + amount.currency); GNUNET_JSON_parse_free (spec); return TMH_RESPONSE_reply_arg_invalid (connection, "amount:currency"); -- cgit v1.2.3