From 20da1ebfab47f19b9aa19655c7cc214ddb4e2e56 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Mon, 22 Nov 2021 18:56:33 +0100 Subject: [PATCH] request.raise_for_status() re-added --- allianceauth/templatetags/admin_status.py | 1 + 1 file changed, 1 insertion(+) diff --git a/allianceauth/templatetags/admin_status.py b/allianceauth/templatetags/admin_status.py index dbfa46ac..c84b47fe 100644 --- a/allianceauth/templatetags/admin_status.py +++ b/allianceauth/templatetags/admin_status.py @@ -164,6 +164,7 @@ def _fetch_list_from_gitlab(url: str, max_pages: int = MAX_PAGES) -> list: request = requests.get( url, params={'page': page}, timeout=REQUESTS_TIMEOUT ) + request.raise_for_status() except requests.exceptions.RequestException as e: error_str = str(e)