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

Feature: show name of variable if conversion fail #4

Open
LuckyTurtleDev opened this issue Dec 14, 2022 · 0 comments
Open

Feature: show name of variable if conversion fail #4

LuckyTurtleDev opened this issue Dec 14, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@LuckyTurtleDev
Copy link

The error type does not store information about the name of a variable, if a conversion fail (expect of bool).

So the user see only a error message that a conversion has failed, but not witch environment variable was converted.
This make it more difficult for the user to find the wrong environment variable.

error loading Environment Variable:
 Error(InvalidInteger(ParseIntError { kind: InvalidDigit }))
@malobre malobre added enhancement New feature or request help wanted Extra attention is needed labels Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants