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

Better handling of missing elements #5

Open
colindean opened this issue Aug 1, 2018 · 0 comments
Open

Better handling of missing elements #5

colindean opened this issue Aug 1, 2018 · 0 comments

Comments

@colindean
Copy link

I've got a CI job that is creating a .netrc in a Make task using environment variables set at the CI level. It turns out that a typo caused the envvar containing the password to be wrong, so our make netrc wrote a line without a password.

The exception that libnetrc threw was unhelpful, simply saying "end of file" from here.

It'd be more user-friendly if the error said what it was looking for when it ran out of file in which to look for it.

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

No branches or pull requests

1 participant