From 418485044870ffe759363451eaf600e1ff80f916 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 16 Feb 2018 14:05:26 -0400 Subject: comment --- .../comment_5_429e42b9c1989dade01300f08fc3c13c._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/todo/include_msg_with_possible_reason_why_command___40__e.g._add__41___failed_into_--json_output/comment_5_429e42b9c1989dade01300f08fc3c13c._comment diff --git a/doc/todo/include_msg_with_possible_reason_why_command___40__e.g._add__41___failed_into_--json_output/comment_5_429e42b9c1989dade01300f08fc3c13c._comment b/doc/todo/include_msg_with_possible_reason_why_command___40__e.g._add__41___failed_into_--json_output/comment_5_429e42b9c1989dade01300f08fc3c13c._comment new file mode 100644 index 000000000..a1d9edc00 --- /dev/null +++ b/doc/todo/include_msg_with_possible_reason_why_command___40__e.g._add__41___failed_into_--json_output/comment_5_429e42b9c1989dade01300f08fc3c13c._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 5""" + date="2018-02-16T17:59:43Z" + content=""" +I think I'm tending toward adding a new --json-error-messages option, and +making it add "error-messages:[]" to the json when there are no errors, +thus keeping the json self-documenting. + +The json buffer will need to be flushed in the exception handler, +as noted in my previous comment. +"""]] -- cgit v1.2.3