You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 17, 2023. It is now read-only.
This makes it more difficult to detect problems when integrating nrfutil in build systems.
By replacing the current click.echo, return with raise click.Exception, 1 is returned and my build stops as expected. Should I use a more specialised exception class such as click.UsageError?
The text was updated successfully, but these errors were encountered:
@mon, good point about nonzero exit code.
I believe the more specialized exception classes should be used where appropriate, as click will then try to add context info to the error message.
This makes it more difficult to detect problems when integrating nrfutil in build systems.
By replacing the current
click.echo
,return
withraise click.Exception
, 1 is returned and my build stops as expected. Should I use a more specialised exception class such asclick.UsageError
?The text was updated successfully, but these errors were encountered: