hashicorp / hashicorp/terraform-exec
Differentiate Go panics from other exit code 2 usage
Open
enhancement
- Dominant language
- Go
- Stars
- 786
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.