From 7f1f22300520264033d85350f0b4036708806e16 Mon Sep 17 00:00:00 2001 From: Edwin Jose George Date: Mon, 21 Aug 2023 10:17:45 +0530 Subject: [PATCH] refactor: change logging level --- graphene_mongo/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_mongo/fields.py b/graphene_mongo/fields.py index 3cef0f44..02decbf5 100644 --- a/graphene_mongo/fields.py +++ b/graphene_mongo/fields.py @@ -579,7 +579,7 @@ def connection_resolver(cls, resolver, connection_type, root, info, **args): try: setattr(root, key, from_global_id(value)[1]) except Exception as error: - logging.error("Exception Occurred: ", exc_info=error) + logging.debug("Exception Occurred: ", exc_info=error) iterable = resolver(root, info, **args) if isinstance(connection_type, graphene.NonNull):