This commit is contained in:
parent
638032f3aa
commit
8cd0f8b28e
1 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
||||||
|
ATM errors are output into stderr while json record lacks any hints on what went wrong
|
||||||
|
|
||||||
|
[[!format sh """
|
||||||
|
$> git annex add --json longfilenametogetlotsoferrorsandevenlonger4
|
||||||
|
longfilenametogetlotsoferrorsandevenlonger4: setFileMode: permission denied (Operation not permitted)
|
||||||
|
{"command":"add","success":false,"file":"longfilenametogetlotsoferrorsandevenlonger4"}
|
||||||
|
"""]]
|
||||||
|
|
||||||
|
would be nice(r) to have
|
||||||
|
|
||||||
|
[[!format sh """
|
||||||
|
$> git annex add --json longfilenametogetlotsoferrorsandevenlonger4
|
||||||
|
{"command":"add","success":false,"file":"longfilenametogetlotsoferrorsandevenlonger4", "msg": "setFileMode: permission denied (Operation not permitted)"}
|
||||||
|
"""]]
|
||||||
|
or may be even an explicit "errormsg" or alike instead of just a generic "msg"
|
||||||
|
|
||||||
|
|
||||||
|
[[!meta author=yoh]]
|
Loading…
Add table
Add a link
Reference in a new issue