Skip to content

Commit

Permalink
Print both query and data response for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiogcx committed Oct 22, 2020
1 parent 3e8529c commit 4cc6b0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atd-etl/app/process_socrata_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
data = run_hasura_query(query)

if "data" not in data:
print(data)
print("query: ", query)
print("data: ", data)
raise RuntimeError("There was a problem gathering data.")

# Format records
Expand Down

0 comments on commit 4cc6b0b

Please sign in to comment.