Skip to content

Commit b0d6db1

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 b0d6db1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/syskit/process_managers/remote/process.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ 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+
"deployment model used by the process server may "\
78+
"differ from the one used by the syskit main instance."
7779
end
7880

7981
map[mapped_name] =

0 commit comments

Comments
 (0)