diff options
Diffstat (limited to 'lib/rainbows/thread_spawn.rb')
-rw-r--r-- | lib/rainbows/thread_spawn.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/thread_spawn.rb b/lib/rainbows/thread_spawn.rb index a3068c9..73a4107 100644 --- a/lib/rainbows/thread_spawn.rb +++ b/lib/rainbows/thread_spawn.rb @@ -51,8 +51,8 @@ module Rainbows rescue Errno::EAGAIN, Errno::ECONNABORTED end end - rescue Object => e - listen_loop_error(e) + rescue => e + Error.listen_loop(e) end while true join_threads(threads.list) end |