Class: Celluloid::Actor

Inherits:
Object
  • Object
show all
Defined in:
lib/bettercap/monkey/celluloid/actor.rb

Instance Method Summary collapse

Instance Method Details

#handle_crash(exception) ⇒ Object

Handle any exceptions that occur within a running actor



18
19
20
21
# File 'lib/bettercap/monkey/celluloid/actor.rb', line 18

def handle_crash(exception)
    shutdown ExitEvent.new(behavior_proxy, exception)
  rescue => ex
end