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

Catch Exception, not everything #328

Merged
merged 1 commit into from
Apr 10, 2013
Merged

Catch Exception, not everything #328

merged 1 commit into from
Apr 10, 2013

Conversation

lucian1900
Copy link
Contributor

I've noticed a KeyboardInterrupt getting swallowed, so I ended up looking at the libraries I use. It turned out redis-py does except: in several places.

I've replace that with except Exception:, which should only catch interesting exceptions.

andymccurdy added a commit that referenced this pull request Apr 10, 2013
Catch Exception, not everything
@andymccurdy andymccurdy merged commit d1521a9 into redis:master Apr 10, 2013
@andymccurdy
Copy link
Contributor

Thanks!

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.

2 participants