File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def wait_for_job(job):
3535 job .reload () # Refreshes the state via a GET request.
3636 if job .state == 'DONE' :
3737 if job .error_result :
38- raise RuntimeError (job .error_result )
38+ raise RuntimeError (job .errors )
3939 return
4040 time .sleep (1 )
4141
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def wait_for_job(job):
5454 job .reload ()
5555 if job .state == 'DONE' :
5656 if job .error_result :
57- raise RuntimeError (job .error_result )
57+ raise RuntimeError (job .errors )
5858 return
5959 time .sleep (1 )
6060
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def wait_for_job(job):
5656 job .reload ()
5757 if job .state == 'DONE' :
5858 if job .error_result :
59- raise RuntimeError (job .error_result )
59+ raise RuntimeError (job .errors )
6060 return
6161 time .sleep (1 )
6262
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ def wait_for_job(job):
180180 job .reload () # Refreshes the state via a GET request.
181181 if job .state == 'DONE' :
182182 if job .error_result :
183- raise RuntimeError (job .error_result )
183+ raise RuntimeError (job .errors )
184184 return
185185 time .sleep (1 )
186186
You can’t perform that action at this time.
0 commit comments