Skip to content

Commit

Permalink
fix: allow raw-data-api call to return if FAILURE response
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Aug 5, 2024
1 parent e7d5d27 commit e6f8121
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osm_rawdata/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,8 @@ def queryRemote(

# First check to see if FAILURE and stop polling
if response_status == "FAILURE":
# NOTE bug we must override task_info as it's set to a string
task_info = {}
break

# response_status options: STARTED, PENDING, SUCCESS
Expand Down

0 comments on commit e6f8121

Please sign in to comment.