mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-11-12 00:45:40 +00:00
request.raise_for_status() re-added
This commit is contained in:
1 file changed
+1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user