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

refactor(scripts): enhance error handling and logging for robustness #21

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

sachincool
Copy link
Member

Improve error handling by using 'set -e -o pipefail' to ensure
scripts exit on errors. Refactor error handling functions for
clarity and consistency. Enhance logging by redirecting error
messages to the appropriate log files. Simplify main function
execution and ensure only JSON output is sent to stdout. Remove
hardcoded environment name in Azure template for flexibility.

Improve error handling by using 'set -e -o pipefail' to ensure
scripts exit on errors. Refactor error handling functions for
clarity and consistency. Enhance logging by redirecting error
messages to the appropriate log files. Simplify main function
execution and ensure only JSON output is sent to stdout. Remove
hardcoded environment name in Azure template for flexibility.
@sachincool sachincool merged commit c1ec897 into main Dec 26, 2024
6 checks passed
@sachincool sachincool deleted the hl/fail_on_error branch January 3, 2025 08:37
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

Successfully merging this pull request may close these issues.

2 participants