nimbella / nimbella-cli

Your cloud. Beautiful.
https://nimbella.com
Apache License 2.0
10 stars 12 forks source link

When capturing, all errors should be distinguished #224

Closed joshuaauerbachwatson closed 2 years ago

joshuaauerbachwatson commented 2 years ago

Previously, errors that were not thrown (e.g with 'displayError') would come back in 'captured' and there would be no distinction between them and normal output. This can undermine some library uses of the CLI where, in the presence of a non-zero exit, it is otherwise unclear what is an error and what is normal.