Skip to content
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

Add useful info to AddPositionalValue panic. #77

Merged
merged 1 commit into from Apr 23, 2022

Conversation

groutr
Copy link
Contributor

@groutr groutr commented Mar 30, 2022

Working on a somewhat complicated CLI and kept getting this vague panic about a positional value.

This PR inserts the names of the positional values into the panic message to assist the developer.

Copy link
Owner

@integrii integrii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it! Thank you!

@integrii integrii merged commit 1465b3f into integrii:master Apr 23, 2022
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.

None yet

2 participants