Skip to content
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

Ensure error handling on functions invoked inside a concatenation #24

Closed
fsquillace opened this issue Apr 17, 2016 · 0 comments
Closed

Comments

@fsquillace
Copy link
Member

The following is not able to detect unexpected errors inside my_func:

set -e
my_func || echo error

We need to implement a try/catch mechanism to overcome the limitation of the bash language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant