Guru Error Logging (#1085)

This commit is contained in:
Yuhong Sun 2024-02-16 12:41:18 -08:00 committed by GitHub
parent 10ad9babef
commit 92500d448c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,6 +70,7 @@ class GuruConnector(LoadConnector, PollConnector):
current_url = GURU_QUERY_ENDPOINT # This is how they handle pagination, a different url will be provided
while True:
response = session.get(current_url, params=params)
response.raise_for_status()
if response.status_code == 204:
break