diff options
Diffstat (limited to 'lib/rainbows/thread_pool.rb')
-rw-r--r-- | lib/rainbows/thread_pool.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/thread_pool.rb b/lib/rainbows/thread_pool.rb index 7934dc8..949db6f 100644 --- a/lib/rainbows/thread_pool.rb +++ b/lib/rainbows/thread_pool.rb @@ -59,8 +59,8 @@ module Rainbows rescue Errno::EBADF, TypeError break end - rescue Object => e - listen_loop_error(e) + rescue => e + Error.listen_loop(e) end while G.alive } end |