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
Include stacktrace in error message #634
Conversation
Diff for pulumi-azuread with merge commit 1a14099 |
Diff for pulumi-random with merge commit 1a14099 |
Diff for pulumi-gcp with merge commit 1a14099 |
Diff for pulumi-azure with merge commit 1a14099 |
Diff for pulumi-azuread with merge commit b27f01e |
Diff for pulumi-random with merge commit b27f01e |
Diff for pulumi-gcp with merge commit b27f01e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nits. LGTM otherwise.
Diff for pulumi-azure with merge commit b27f01e |
Diff for pulumi-aws with merge commit 1a14099 |
Diff for pulumi-aws with merge commit b27f01e |
Diff for pulumi-azuread with merge commit a77884b |
Diff for pulumi-random with merge commit a77884b |
Diff for pulumi-gcp with merge commit a77884b |
Diff for pulumi-azure with merge commit a77884b |
Diff for pulumi-aws with merge commit a77884b |
In TFGen, HCL conversion is allowed to panic. Panics are recovered and converted into errors, which are then displayed to the user.
Currently, these panics don't provide a way to inspect the stacktrace, making it very hard to debug P1s. This PR captures the stacktrace, and logs traces when
debug
is enabled.Related