Class: Celluloid::Actor
- Inherits:
-
Object
- Object
- Celluloid::Actor
- Defined in:
- lib/bettercap/monkey/celluloid/actor.rb
Instance Method Summary collapse
-
#handle_crash(exception) ⇒ Object
Handle any exceptions that occur within a running actor.
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 |