Skip to content

Commit eb96eb8

Browse files
committed
fix: variable reference
task_name dont exist in this context, the correct variable reference is deployed_task.name. this commit also brings more information to the error message
1 parent ddd337e commit eb96eb8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/syskit/process_managers/remote/process.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ def resolve_all_tasks
7373
mapped_name = mapped_name_of(deployed_task.name)
7474
unless (ior = @ior_mappings[mapped_name])
7575
raise IORNotRegisteredError,
76-
"no IOR is registered for #{task_name}"
76+
"no IOR is registered for #{deployed_task.name}. The "\
77+
"task deployment name on the process server differs "\
78+
"to the task deployment name in syskit, "\
79+
"#{deployed_task.name}"
7780
end
7881

7982
map[mapped_name] =

0 commit comments

Comments
 (0)