diff options
Diffstat (limited to 'lib/rainbows/thread_pool.rb')
-rw-r--r-- | lib/rainbows/thread_pool.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/rainbows/thread_pool.rb b/lib/rainbows/thread_pool.rb index 16a5979..9f1a8db 100644 --- a/lib/rainbows/thread_pool.rb +++ b/lib/rainbows/thread_pool.rb @@ -81,10 +81,7 @@ module Rainbows end end rescue Object => e - if LISTENERS.first - logger.error "Unhandled listen loop exception #{e.inspect}." - logger.error e.backtrace.join("\n") - end + listen_loop_error(e) if LISTENERS.first end while LISTENERS.first } end |