gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] 01/06: handle 406 nicely, can happen if in


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 01/06: handle 406 nicely, can happen if insufficient balance
Date: Sun, 06 Oct 2019 12:32:56 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit bda228232f4deb9b779e85b3d8626d1836509ea5
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Oct 6 12:31:11 2019 +0200

    handle 406 nicely, can happen if insufficient balance
---
 src/bank-lib/bank_api_admin.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c
index 72b1d773..cff444fb 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 */

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]