Skip to content

Conversation

@nikpivkin
Copy link

This PR enriches the panic message by adding type information, which will make debugging easier.

@apparentlymart
Copy link
Collaborator

Thanks for working on this @nikpivkin.

The two panic messages you have changed here should be completely unreachable unless there is a bug in cty. Did you find a situation where those panics would occur when you called those functions with specific input? If so, I'd prefer to fix the bug that allowed this to panic than to change the panic messages.

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