lib/ruote/log/wait_logger.rb in ruote-2.1.2 vs lib/ruote/log/wait_logger.rb in ruote-2.1.3
- old
+ new
@@ -38,10 +38,10 @@
@context = context
@waiting = nil
@color = 33
- @context.worker.subscribe(:all, self) if @context.respond_to?(:worker)
+ @context.worker.subscribe(:all, self) if @context.worker
@noisy = false
end
def notify (msg)