hashicorp / hashicorp/terraform-exec

Differentiate Go panics from other exit code 2 usage

Open
#69 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.