Skip to content

Commit

Permalink
catch http protocol error
Browse files Browse the repository at this point in the history
  • Loading branch information
zschumacher committed Jan 30, 2025
1 parent d4ecc2c commit 7d97312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wait_for_pinot_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def submit_query(t: str):
exceptions = json["exceptions"]
if exceptions:
reason = exceptions[0]['message']
except (httpx.ReadError, httpx.ConnectError, httpcore.RemoteProtocolError): # broker not accepting api requests yet:
except (httpx.ReadError, httpx.ConnectError, httpx.RemoteProtocolError): # broker not accepting api requests yet:
exceptions = True
reason = "Broker not accepting requests yet"

Expand Down

0 comments on commit 7d97312

Please sign in to comment.