Skip to content

Commit

Permalink
Allow non-200 HTTP status response from API (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
sserrata authored Apr 15, 2020
1 parent 4125e8f commit ac51872
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pan_cortex_data_lake/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,6 @@ def iter_job_results(
r = self.get_job_results(
job_id=job_id, params=params, enforce_json=enforce_json, **kwargs
)
if not r.ok:
raise HTTPError("%s" % r.text)
r_json = r.json()
if r_json["state"] == "DONE":
page_cursor = r_json["page"].get("pageCursor")
Expand Down

0 comments on commit ac51872

Please sign in to comment.