-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: when prowler exits with a non-zero status, the remainder of the block is not executed #1015
Fix: when prowler exits with a non-zero status, the remainder of the block is not executed #1015
Conversation
…block is not executed
Hi @lorchda, can you provide us more information about this? I think this code needs to include a better error handling more than force |
Hi @jfagoagas The errors are correctly reported by Suppose there was an error during execution, then Consider the following code here:
When prowler exits with a non-zero exit code, then the remainder of the block, namely...
... is not executed, cutting the console output short. Note that This is how the output looks, with
Regards |
@lorchda can this be handled with the existing Z options? (./prowler -h)
|
…er of the block is executed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @lorchda
Thanks!!
Context
When
prowler
exits with a non-zero status code, the remainder of the block is not executed.Description
|| true
ensures the remainder of the block is executed.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.