Skip to content

Commit

Permalink
Guru Error Logging (onyx-dot-app#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 authored Feb 16, 2024
1 parent 10ad9ba commit 92500d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/danswer/connectors/guru/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def _process_cards(
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
Expand Down

0 comments on commit 92500d4

Please sign in to comment.