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/writer_thread_pool.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/writer_thread_pool.rb') diff --git a/lib/rainbows/writer_thread_pool.rb b/lib/rainbows/writer_thread_pool.rb index b6c53e8..a2ef1ba 100644 --- a/lib/rainbows/writer_thread_pool.rb +++ b/lib/rainbows/writer_thread_pool.rb @@ -78,7 +78,7 @@ module Rainbows io.write(arg1) end rescue => err - Error.app(err) + Error.write(io, err) end end end -- cgit v1.2.3-24-ge0c7