Commit d076e560 authored by Wout De Nolf's avatar Wout De Nolf
Browse files

missing connect logging for RouterActor

parent 304bd3ee
Pipeline #63619 passed with stages
in 43 seconds
......@@ -48,6 +48,9 @@ class RouterActor(AbstractActor):
self.dictValues = {}
def connect(self, actor, expectedValue="other"):
self.logger.debug(
"connect to actor '%s' (output port %s)", actor.name, expectedValue
)
if expectedValue != "other" and expectedValue not in self.listPort:
raise RuntimeError(
f"Port {expectedValue} not defined for router actor {self.name}!"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment