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

Changed all bare excepts to use base Exception class #2717

Merged
merged 1 commit into from
Sep 5, 2016

Conversation

isaulv
Copy link
Contributor

@isaulv isaulv commented Sep 5, 2016

In Python a bare except clause will catch any transient system errors. This is not recommended except in a very few exceptional cases, which none apply for this project. This PR fixes it so that uses the base exception class Exception so that some system errors do bubble up.

@AutomatedTester
Copy link
Member

thank you!

@AutomatedTester AutomatedTester merged commit 7e09cae into SeleniumHQ:master Sep 5, 2016
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