diff --git a/src/bundles/webservices/src/cxservices_job.py b/src/bundles/webservices/src/cxservices_job.py index e1c63e59b6..58d032dd4d 100644 --- a/src/bundles/webservices/src/cxservices_job.py +++ b/src/bundles/webservices/src/cxservices_job.py @@ -216,7 +216,7 @@ def monitor(self, poll_freq_override: Optional[int] = None) -> None: ) reason = json.loads(e.body)["description"] if reason.startswith("No such job"): - self.state = TaskState.FINISHED + self.state = TaskState.DELETED return raise JobMonitorError(str(e)) self.state = status