summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-06 12:31:11 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-06 12:31:11 +0200
commitbda228232f4deb9b779e85b3d8626d1836509ea5 (patch)
tree24db7e76156f1d47efd80722f4ccbfeaf9bcec63 /src
parentbd8b48393c3161a8d3e4cde26f3c8e372c7d394a (diff)
downloadexchange-bda228232f4deb9b779e85b3d8626d1836509ea5.tar.gz
exchange-bda228232f4deb9b779e85b3d8626d1836509ea5.tar.bz2
exchange-bda228232f4deb9b779e85b3d8626d1836509ea5.zip
handle 406 nicely, can happen if insufficient balance
Diffstat (limited to 'src')
-rw-r--r--src/bank-lib/bank_api_admin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c
index 72b1d773e..cff444fb9 100644
--- a/src/bank-lib/bank_api_admin.c
+++ b/src/bank-lib/bank_api_admin.c
@@ -130,6 +130,11 @@ handle_admin_add_incoming_finished (void *cls,
happen, we should pass the JSON reply to the application */
ec = TALER_BANK_parse_ec_ (j);
break;
+ case MHD_HTTP_NOT_ACCEPTABLE:
+ /* Nothing really to verify, this should never
+ happen, we should pass the JSON reply to the application */
+ ec = TALER_BANK_parse_ec_ (j);
+ break;
case MHD_HTTP_INTERNAL_SERVER_ERROR:
/* Server had an internal issue; we should retry, but this API
leaves this to the application */