Description[json] improve output to get leak_to and better logging.
This adds the 'leak_to' parameter to json.output, and also makes it so
that when logging is enabled and the json is invalid, the raw data is
written to the json log instead (for easier debugging).
R=dnj@chromium.org, phajdan.jr@chromium.org, tikuta@chromium.org, vadimsh@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2750793002
Committed: https://github.com/luci/recipes-py/commit/9fdd6d725d8d04125d43ce2be4f5e4b123f705be
Patch Set 1 #
Total comments: 2
Patch Set 2 : update comment #
Total comments: 2
Patch Set 3 : add exception #Patch Set 4 : add test assertion #Patch Set 5 : fixit #
Messages
Total messages: 17 (8 generated)
|