do not break on issues we log to JSON

This commit is contained in:
Christian Grothoff 2017-11-20 21:56:06 +01:00
parent 7749a683ba
commit 111abd5944
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 13 additions and 2 deletions

View File

@ -220,5 +220,17 @@
"diagnostic": "duplicate wire offset" "diagnostic": "duplicate wire offset"
} }
], ],
"row_minor_inconsistencies": [] "row_minor_inconsistencies": [],
"total_wire_format_amount": {
"currency": "KUDOS",
"value": 0,
"fraction": 0
},
"wire_format_inconsistencies": [],
"total_amount_lag": {
"currency": "KUDOS",
"value": 5,
"fraction": 1000000
},
"lag_details": []
} }

View File

@ -996,7 +996,6 @@ reserve_in_cb (void *cls,
rii, rii,
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)) GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY))
{ {
GNUNET_break_op (0); /* duplicate wire offset is not allowed! */
report (report_row_inconsistencies, report (report_row_inconsistencies,
json_pack ("{s:s, s:I, s:o, s:s}", json_pack ("{s:s, s:I, s:o, s:s}",
"table", "reserves_in", "table", "reserves_in",