diff options
Diffstat (limited to 'src/restclient/anastasis_api_keyshare_lookup.c')
-rw-r--r-- | src/restclient/anastasis_api_keyshare_lookup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/restclient/anastasis_api_keyshare_lookup.c b/src/restclient/anastasis_api_keyshare_lookup.c index 5eeeee6..50e0d67 100644 --- a/src/restclient/anastasis_api_keyshare_lookup.c +++ b/src/restclient/anastasis_api_keyshare_lookup.c @@ -267,6 +267,12 @@ handle_keyshare_lookup_finished (void *cls, data_size); kdd.details.server_failure.http_status = response_code; break; + case MHD_HTTP_BAD_GATEWAY: + kdd.status = ANASTASIS_KSD_SERVER_ERROR; + kdd.details.server_failure.ec = TALER_JSON_get_error_code2 (data, + data_size); + kdd.details.server_failure.http_status = response_code; + break; default: /* unexpected response code */ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |