From 8faadc23b0621c674e4cd816f012cd64c6649765 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Tue, 23 Nov 2021 01:02:08 +0100 Subject: [PATCH] Set logger to warning to not trigger a notification to admins every time --- allianceauth/templatetags/admin_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allianceauth/templatetags/admin_status.py b/allianceauth/templatetags/admin_status.py index c84b47fe..f7de2513 100644 --- a/allianceauth/templatetags/admin_status.py +++ b/allianceauth/templatetags/admin_status.py @@ -168,7 +168,7 @@ def _fetch_list_from_gitlab(url: str, max_pages: int = MAX_PAGES) -> list: except requests.exceptions.RequestException as e: error_str = str(e) - logger.error( + logger.warning( f'Unable to fetch from GitLab API. Error: {error_str}', exc_info=True, )