Skip to content

Differentiate Go panics from other exit code 2 usage #69

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

Open
paultyng opened this issue Sep 2, 2020 · 1 comment
Open

Differentiate Go panics from other exit code 2 usage #69

paultyng opened this issue Sep 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@paultyng
Copy link
Contributor

paultyng commented Sep 2, 2020

Exit code 2 is also used for Go panics, so in Plan we need to properly differentiate between a core panic and exit for the detailed exit code. Unsure how to simulate panics though, maybe we should go back through fixed ones to see if we can simulate one in a shipped release for testing.

@radeksimko
Copy link
Member

Related to #158

I believe that custom error types which would include stderr might address this.

@radeksimko radeksimko added the enhancement New feature or request label Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants