diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-02-03 23:42:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-02-03 23:42:47 +0100 |
commit | 232606fb57e3c74b62aa78d49225e2bb3c0c9ab4 (patch) | |
tree | ef4d74eb32bd577868fa77f625d4b2685086ff9f /src/json/json.c | |
parent | f4f86d2b0149231e95b81f12a607c670ad74f02f (diff) | |
download | exchange-232606fb57e3c74b62aa78d49225e2bb3c0c9ab4.tar.gz exchange-232606fb57e3c74b62aa78d49225e2bb3c0c9ab4.tar.bz2 exchange-232606fb57e3c74b62aa78d49225e2bb3c0c9ab4.zip |
add IF NOT EXISTS for indices
Diffstat (limited to 'src/json/json.c')
-rw-r--r-- | src/json/json.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/json/json.c b/src/json/json.c index 6de29931..f0c0aff5 100644 --- a/src/json/json.c +++ b/src/json/json.c @@ -81,7 +81,8 @@ TALER_JSON_get_error_code (const json_t *json) so we are dealing with a missing error code here. */ if (NULL == jc) { - GNUNET_break_op (0); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Expected Taler error code `code' in JSON, but field does not exist!\n"); return TALER_EC_INVALID; } if (json_is_integer (jc)) |