Skip to content

fix: return exit 1 on error#52

Merged
rjfonseca merged 1 commit intomainfrom
fix/app-exit-code
Mar 19, 2026
Merged

fix: return exit 1 on error#52
rjfonseca merged 1 commit intomainfrom
fix/app-exit-code

Conversation

@rjfonseca
Copy link
Copy Markdown
Member

The app was always finishing with success (exit code 0), even when the main loop finishes with an error.

This change checks for error in the main loop and also the shutdown procedures and returns error (exit code 1) when an error is detected.

The app was always finishing with success (exit code 0), even when the
main loop finishes with an error.

This change checks for error in the main loop and also the shutdown
procedures and returns error (exit code 1) when an error is detected.
@rjfonseca rjfonseca requested a review from victormn as a code owner March 19, 2026 14:56
@sonarqubecloud
Copy link
Copy Markdown

@rjfonseca rjfonseca merged commit baaf590 into main Mar 19, 2026
6 checks passed
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