diff options
author | Joey Hess <joeyh@joeyh.name> | 2018-02-16 14:05:26 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2018-02-16 14:05:26 -0400 |
commit | 418485044870ffe759363451eaf600e1ff80f916 (patch) | |
tree | ec9dadd0270b981e95de27eca30972ea609c88c1 | |
parent | ae9cea79f393f46a29fe64e2bf891a8f5c7e10d3 (diff) |
comment
-rw-r--r-- | doc/todo/include_msg_with_possible_reason_why_command___40__e.g._add__41___failed_into_--json_output/comment_5_429e42b9c1989dade01300f08fc3c13c._comment | 12 |
1 files changed, 12 insertions, 0 deletions
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. +"""]] |