From 97afa178f0fd777ef5492a4e688b56350c0a7c68 Mon Sep 17 00:00:00 2001 From: Yuhong Sun Date: Sun, 27 Oct 2024 14:47:14 -0700 Subject: [PATCH] Harmless --- backend/danswer/connectors/gitlab/connector.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/danswer/connectors/gitlab/connector.py b/backend/danswer/connectors/gitlab/connector.py index f07baf3e141..805aff0073c 100644 --- a/backend/danswer/connectors/gitlab/connector.py +++ b/backend/danswer/connectors/gitlab/connector.py @@ -24,6 +24,10 @@ from danswer.connectors.models import Section from danswer.utils.logger import setup_logger + +logger = setup_logger() + + # List of directories/Files to exclude exclude_patterns = [ "logs", @@ -31,7 +35,6 @@ ".gitlab/", ".pre-commit-config.yaml", ] -logger = setup_logger() def _batch_gitlab_objects(