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

python: Handle ValueError raised by str.index() more gracefully #36

Merged
merged 1 commit into from
Sep 26, 2020

Conversation

jynik
Copy link
Collaborator

@jynik jynik commented Sep 26, 2020

We should be emitting this error in a more meaningful way at the
end if we can't identify the environment.

Allowing str.index() to bubble up is not useful to a user.
We'll just skip bogus lines and try to gather what we can.

We should be emitting this error in a more meaningful way at the
end if we can't identify the environment.

Allowing str.index() to bubble up is not useful to a user.
We'll just skip bogus lines and try to gather what we can.
@jynik jynik self-assigned this Sep 26, 2020
@jynik jynik merged commit 8941ac6 into nccgroup:next Sep 26, 2020
@jynik jynik deleted the 35-value-error branch September 26, 2020 02:14
This pull request was closed.
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.

1 participant