Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

handle_crash for all Exceptions

  • Loading branch information...
commit 2394d761115473ed53cf45f3888659fcc23942d4 1 parent 548050a
@tarcieri tarcieri authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/celluloid/actor.rb
View
3  lib/celluloid/actor.rb
@@ -174,8 +174,9 @@ def run
end
shutdown
- rescue => ex
+ rescue Exception => ex
handle_crash(ex)
+ raise unless ex.is_a? StandardError
end
# How long to wait until the next timer fires
Please sign in to comment.
Something went wrong with that request. Please try again.