Skip to content

Commit

Permalink
workarounded annoying error message in shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Sep 16, 2014
1 parent ade67ce commit 7371dd2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/roby/distributed/base.rb
Expand Up @@ -466,9 +466,15 @@ def self.process_cycle(peer, calls)

class DumbManager
def self.local_object(obj)
if obj.respond_to?(:proxy)
obj.proxy(self)
else obj
begin
if obj.respond_to?(:proxy)
return obj.proxy(self)
else
return obj
end
rescue Exception => e
::Robot.warn "Workaround proxy here"
return obj
end
end

Expand Down

0 comments on commit 7371dd2

Please sign in to comment.