about summary refs log tree commit homepage
path: root/lib/rainbows/revactor.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-11 01:34:34 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-11 01:34:34 -0700
commit178812e24edc3c912f7c2c13b37ab7f9e41d243c (patch)
tree0835cb51fef4463eccc09412baa241988a91fa15 /lib/rainbows/revactor.rb
parent3b0bf229c40a9e460b71e751932481e66e90c26a (diff)
downloadrainbows-178812e24edc3c912f7c2c13b37ab7f9e41d243c.tar.gz
It'll be easier to maintain a common language for logging
and debugging.
Diffstat (limited to 'lib/rainbows/revactor.rb')
-rw-r--r--lib/rainbows/revactor.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/rainbows/revactor.rb b/lib/rainbows/revactor.rb
index 3375652..95cf8fe 100644
--- a/lib/rainbows/revactor.rb
+++ b/lib/rainbows/revactor.rb
@@ -102,10 +102,7 @@ module Rainbows
             root.link(actor)
           rescue Errno::EAGAIN, Errno::ECONNABORTED
           rescue Object => e
-            if alive
-              logger.error "Unhandled listen loop exception #{e.inspect}."
-              logger.error e.backtrace.join("\n")
-            end
+            listen_loop_error(e) if alive
           end while alive
         end
       end