diff --git a/bigquery/cloud-client/load_data_from_gcs.py b/bigquery/cloud-client/load_data_from_gcs.py index 4aa435fad007..7c576e20ad67 100644 --- a/bigquery/cloud-client/load_data_from_gcs.py +++ b/bigquery/cloud-client/load_data_from_gcs.py @@ -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)