diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-09 14:54:50 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-09 14:54:50 +0200 |
commit | e1b2900ebe2b82a627fbc272800716896af6d793 (patch) | |
tree | 982313db59bfb401c4f1044f5eb1fe67b991b939 /src | |
parent | c179734ccfc8a9dc9571d4a39ca2d37513c409a6 (diff) | |
download | exchange-e1b2900ebe2b82a627fbc272800716896af6d793.tar.xz |
more verbose message to help diagnose issues
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_admin.c | 5 |
1 files changed, 4 insertions, 1 deletions
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"); |