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

fix exit code on error #187

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Conversation

amartin120
Copy link
Contributor

Please check below, if the PR fulfills these requirements:

  • The commit message follows the guidelines.
  • Tests for the changes have been added (for bug fixes / features).
  • Docs have been added / updated (for bug fixes / features).

What kind of change does this PR introduce?

  • If Hauler hits an error and exits, set the exit code to 1.

What is the current behavior?

  • Errors exit with a code of 0.

What is the new behavior (if this is a feature change)?

  • set the exit code to 1.

Does this PR introduce a breaking change?

  • N/A

Other information:

Signed-off-by: Adam Martin <[email protected]>
@amartin120 amartin120 merged commit 2764e2d into hauler-dev:main Feb 22, 2024
1 check passed
@amartin120 amartin120 self-assigned this Feb 22, 2024
@amartin120 amartin120 deleted the fix-exitcode branch March 29, 2024 19:02
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.

1 participant