Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing overly agressive exception catching in callbacks

  • Loading branch information...
commit 33c6cc426d8f516f9a64a35911706f21841bbbe0 1 parent 3075dcf
Shawn MacIntyre authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  asyncmongo/connection.py
2  asyncmongo/connection.py
@@ -194,7 +194,7 @@ def __connection_manager(self, state, callback):
194 194 callback(self)
195 195 except _NoNodeFound, why:
196 196 callback(None, error=why)
197   - except Exception, why:
  197 + except InterfaceError, why:
198 198 state.errors.append(str(why))
199 199 self.__find_node(state)
200 200

0 comments on commit 33c6cc4

Please sign in to comment.
Something went wrong with that request. Please try again.