diff options
author | Eric Wong <normalperson@yhbt.net> | 2014-01-17 01:31:43 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2014-01-17 01:31:43 +0000 |
commit | 1b3e68e3eac0c3fbb2a32e4fddd26ee8a50ec627 (patch) | |
tree | b14d91472aecc8577524642171e0c65ff4df1bf3 /lib | |
parent | 877f44605ec1768e279843e36c214b656d191011 (diff) | |
download | rainbows-1b3e68e3eac0c3fbb2a32e4fddd26ee8a50ec627.tar.gz |
There's nothing we can do about these errors due to network failures and bad clients, either, so do not spew a backtrace for them.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rainbows/error.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/error.rb b/lib/rainbows/error.rb index 8917c4d..736d5d8 100644 --- a/lib/rainbows/error.rb +++ b/lib/rainbows/error.rb @@ -25,7 +25,7 @@ module Rainbows::Error def self.response(e) case e when EOFError, Errno::ECONNRESET, Errno::EPIPE, Errno::EINVAL, - Errno::EBADF, Errno::ENOTCONN + Errno::EBADF, Errno::ENOTCONN, Errno::ETIMEDOUT, Errno::EHOSTUNREACH # swallow error if client shuts down one end or disconnects when Unicorn::HttpParserError Rainbows::Const::ERROR_400_RESPONSE # try to tell the client they're bad |