Skip to content

fix: still exit with non-zero when there is an unknown err#1312

Merged
burmudar merged 1 commit intomainfrom
wb/fix-exit-code
May 6, 2026
Merged

fix: still exit with non-zero when there is an unknown err#1312
burmudar merged 1 commit intomainfrom
wb/fix-exit-code

Conversation

@burmudar
Copy link
Copy Markdown
Contributor

@burmudar burmudar commented May 5, 2026

If we returned an error whose type wasn't known we exited with exit code 0, instead of 1.

We now will always exit with code 1 at the very least if there is an error.

Test plan

Tested locally

@burmudar burmudar requested a review from a team May 5, 2026 13:29
@burmudar burmudar self-assigned this May 5, 2026
@burmudar burmudar merged commit cacf3c0 into main May 6, 2026
9 checks passed
@burmudar burmudar deleted the wb/fix-exit-code branch May 6, 2026 08:55
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