Class: Dynflow::Actor::SetResultsWithOriginLogging

Inherits:
Concurrent::Actor::Behaviour::SetResults
  • Object
show all
Includes:
LogWithFullBacktrace
Defined in:
lib/dynflow/actor.rb

Instance Method Summary collapse

Methods included from LogWithFullBacktrace

#log

Instance Method Details

#on_envelope(envelope) ⇒ Object



52
53
54
55
56
57
58
# File 'lib/dynflow/actor.rb', line 52

def on_envelope(envelope)
  if FULL_BACKTRACE
    Actor::BacktraceCollector.with_backtrace(envelope.origin_backtrace) { super }
  else
    super
  end
end