Commit 787e034
authored
[iris] Raise ConnectError(NOT_FOUND) from IrisClient.job_state (#5024)
Restore the pre-#5021 public API: Job.state / state_only() now surface
ConnectError(Code.NOT_FOUND) when the job is missing, matching
RemoteClusterClient._poll_job_state. The bare KeyError introduced by the
lightweight polling path was a regression for callers that rely on
ConnectError semantics.
Follow-up to #5021.1 parent 28f2170 commit 787e034
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
713 | | - | |
| 713 | + | |
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
| |||
0 commit comments