What steps did you take:
- have a vendir.yaml that produces an error, eg
vendir: Error: Syncing directory 'foo':
Copying another directory contents into directory 'bar': lstat ../src/foo: no such file or directory
- run
vendir sync: produces a nice error
- run
vendir sync --json
What happened:
produces no error, but does exit with code 1
What did you expect:
error message like without --json, in json and/or to stderr
Environment:
- vendir version (execute
vendir --version): vendir version 0.38.0
- OS (e.g. from
/etc/os-release): debian bookworm
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
What steps did you take:
vendir sync: produces a nice errorvendir sync --jsonWhat happened:
produces no error, but does exit with code 1
What did you expect:
error message like without
--json, in json and/or to stderrEnvironment:
vendir --version): vendir version 0.38.0/etc/os-release): debian bookwormVote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.