-remove confusing logs

This commit is contained in:
Christian Grothoff 2021-08-03 14:28:18 +02:00
parent 9da05a1901
commit 700562560e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -777,10 +777,7 @@ TALER_JSON_get_error_code (const json_t *json)
const json_t *jc;
if (NULL == json)
{
GNUNET_break_op (0);
return TALER_EC_GENERIC_INVALID_RESPONSE;
}
jc = json_object_get (json, "code");
/* The caller already knows that the JSON represents an error,
so we are dealing with a missing error code here. */
@ -803,10 +800,7 @@ TALER_JSON_get_error_hint (const json_t *json)
const json_t *jc;
if (NULL == json)
{
GNUNET_break_op (0);
return NULL;
}
jc = json_object_get (json,
"hint");
if (NULL == jc)