fixed copy past error

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2022-09-22 22:47:15 +02:00
parent 18ca4c17e3
commit 298b259eb0
No known key found for this signature in database

View File

@ -136,7 +136,7 @@ class LocalMongoDBConnection(DBConnection):
pymongo.errors.OperationFailure) as exc: pymongo.errors.OperationFailure) as exc:
logger.info('Exception in connect(): {}'.format(exc)) logger.info('Exception in connect(): {}'.format(exc))
raise ConnectionError(str(exc)) from exc raise ConnectionError(str(exc)) from exc
except pymongo.queryerrors.ConfigurationError as exc: except pymongo.errors.ConfigurationError as exc:
raise ConfigurationError from exc raise ConfigurationError from exc
def close(self): def close(self):