Skip to content

Commit

Permalink
Adjusted error handling based on Googler feedback (GoogleCloudPlatfor…
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmats authored and Jon Wayne Parrott committed Nov 30, 2016
1 parent 961aa1a commit 92ebe4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigquery/cloud-client/load_data_from_gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def wait_for_job(job):
job.reload()
if job.state == 'DONE':
if job.error_result:
raise RuntimeError(job.error_result)
raise RuntimeError(job.errors)
return
time.sleep(1)

Expand Down

0 comments on commit 92ebe4f

Please sign in to comment.