summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_get_product.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_get_product.c')
-rw-r--r--src/lib/merchant_api_get_product.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/merchant_api_get_product.c b/src/lib/merchant_api_get_product.c
index 076a694a..02560761 100644
--- a/src/lib/merchant_api_get_product.c
+++ b/src/lib/merchant_api_get_product.c
@@ -173,6 +173,10 @@ handle_get_product_finished (void *cls,
GNUNET_JSON_parse_free (spec);
break;
}
+ case MHD_HTTP_NOT_FOUND:
+ hr.ec = TALER_JSON_get_error_code (json);
+ hr.hint = TALER_JSON_get_error_hint (json);
+ break;
default:
/* unexpected response code */
hr.ec = TALER_JSON_get_error_code (json);