diff --git a/trains_agent/commands/worker.py b/trains_agent/commands/worker.py index a7fbe2a..2d1af6c 100644 --- a/trains_agent/commands/worker.py +++ b/trains_agent/commands/worker.py @@ -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: