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 0000000000..a1d9edc00a --- /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. +"""]]