Set logger to warning to not trigger a notification to admins every time

This commit is contained in:
Peter Pfeufer
2021-11-23 01:02:08 +01:00
parent 20da1ebfab
commit 8faadc23b0

View File

@@ -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,
)