summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-15 14:11:39 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-15 14:12:42 -0800
commite782ce4c82a6e6eb6c5fe9f66471a0fa33e1f9e8 (patch)
tree167958800e42790dba93c1605ec4c072608cc51a
parenta1321e72bea710270d1091a5616f0bbd1e2bbad4 (diff)
We do not hide unforseen exceptions, as that could cause us to
waste precious time attempting to continue processing after
errors.
-rw-r--r--lib/unicorn/tee_input.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/tee_input.rb b/lib/unicorn/tee_input.rb
index 18ce44b..0669b48 100644
--- a/lib/unicorn/tee_input.rb
+++ b/lib/unicorn/tee_input.rb
@@ -134,8 +134,8 @@ module Unicorn
         raise ClientShutdown, "bytes_read=#{@tmp.size}", []
       when HttpParserError
         e.set_backtrace([])
-        raise e
       end
+      raise e
     end
 
     # tees off a +length+ chunk of data from the input into the IO