mirror of
https://github.com/clearml/clearml
synced 2025-02-01 01:26:49 +00:00
Fix Task.get_task raise proper error on incorrect task_id
This commit is contained in:
parent
31a78d27d7
commit
d2c9523769
@ -109,6 +109,9 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin):
|
||||
# this is an existing task, let's try to verify stuff
|
||||
self._validate()
|
||||
|
||||
if self.data is None:
|
||||
raise ValueError("Task ID \"{}\" could not be found".format(self.id))
|
||||
|
||||
self._project_name = (self.project, project_name)
|
||||
|
||||
if running_remotely() or DevWorker.report_stdout:
|
||||
|
Loading…
Reference in New Issue
Block a user