mirror of
https://github.com/clearml/clearml-agent
synced 2025-03-03 02:32:17 +00:00
Show host information when failing to obtain a task
This commit is contained in:
parent
a6a0b01f71
commit
8d47905982
@ -1081,7 +1081,11 @@ class Worker(ServiceCommandSection):
|
||||
if not current_task.id:
|
||||
pass
|
||||
except Exception:
|
||||
raise ValueError("Could not find task id={}".format(task_id))
|
||||
raise ValueError(
|
||||
"Could not find task id={} (for host: {})".format(
|
||||
task_id, self._session.config.get("api.host", "")
|
||||
)
|
||||
)
|
||||
|
||||
if clone:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user