Permalink
Browse files

handle_crash for all Exceptions

  • Loading branch information...
1 parent 548050a commit 2394d761115473ed53cf45f3888659fcc23942d4 @tarcieri tarcieri committed May 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/celluloid/actor.rb
View
@@ -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

0 comments on commit 2394d76

Please sign in to comment.