about summary refs log tree commit homepage
path: root/lib/rainbows/fiber
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-07-06 04:01:30 +0000
committerEric Wong <normalperson@yhbt.net>2010-07-06 08:14:16 +0000
commit8b65858a864aa0ecfa24ccf8f910c36af0ec1ad6 (patch)
tree54425042893dc4faed151657d00fc05b54950426 /lib/rainbows/fiber
parentd0a1fcaf25b10ff1d6894d50fa981f56169195f3 (diff)
downloadrainbows-8b65858a864aa0ecfa24ccf8f910c36af0ec1ad6.tar.gz
We shouldn't ever spew errors to the stderr/logger
on client disconnects (ECONNRESET/EPIPE/etc...).
Diffstat (limited to 'lib/rainbows/fiber')
-rw-r--r--lib/rainbows/fiber/body.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/rainbows/fiber/body.rb b/lib/rainbows/fiber/body.rb
index cd6c55c..b77e310 100644
--- a/lib/rainbows/fiber/body.rb
+++ b/lib/rainbows/fiber/body.rb
@@ -19,9 +19,6 @@ module Rainbows::Fiber::Body # :nodoc:
         client.wait_writable
       rescue EOFError
         break
-      rescue => e
-        Rainbows::Error.app(e)
-        break
       end while true
     end
   else