mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
fixed copy past error
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
18ca4c17e3
commit
298b259eb0
@ -136,7 +136,7 @@ class LocalMongoDBConnection(DBConnection):
|
||||
pymongo.errors.OperationFailure) as exc:
|
||||
logger.info('Exception in connect(): {}'.format(exc))
|
||||
raise ConnectionError(str(exc)) from exc
|
||||
except pymongo.queryerrors.ConfigurationError as exc:
|
||||
except pymongo.errors.ConfigurationError as exc:
|
||||
raise ConfigurationError from exc
|
||||
|
||||
def close(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user