-
Type: Improvement
-
Resolution: Done
-
Priority: Trivial - P5
-
Affects Version/s: None
-
Component/s: None
-
None
In connection.Connection.__init__ and replica_set_connection.ReplicaSetConnection.__init__ if our initial connection fails AutoReconnect is raised. AutoReconnect is misleading here since no (ReplicaSet)Connection is actually created.
Catch AutoReconnect in __init__ and reraise ConnectionFailure instead.