From 8b65858a864aa0ecfa24ccf8f910c36af0ec1ad6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 6 Jul 2010 04:01:30 +0000 Subject: cleanup error handling for aborted downloads We shouldn't ever spew errors to the stderr/logger on client disconnects (ECONNRESET/EPIPE/etc...). --- lib/rainbows/fiber/body.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/rainbows/fiber/body.rb') 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 -- cgit v1.2.3-24-ge0c7