From 298b259eb0c374df3bc457b85f911eb08121a189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Thu, 22 Sep 2022 22:47:15 +0200 Subject: [PATCH] fixed copy past error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- planetmint/backend/localmongodb/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetmint/backend/localmongodb/connection.py b/planetmint/backend/localmongodb/connection.py index ac671af..f9b4c86 100644 --- a/planetmint/backend/localmongodb/connection.py +++ b/planetmint/backend/localmongodb/connection.py @@ -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):