From 229286be544e76771d2a64637b3c692e51cbd878 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 18 May 2018 06:27:05 +0000 Subject: quiet mismatched indentation warnings Ruby trunk started warning about more mismatched indentations starting around r62836. --- lib/rainbows/reverse_proxy/coolio.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib/rainbows/reverse_proxy/coolio.rb') diff --git a/lib/rainbows/reverse_proxy/coolio.rb b/lib/rainbows/reverse_proxy/coolio.rb index 86f2b79..e3b33b5 100644 --- a/lib/rainbows/reverse_proxy/coolio.rb +++ b/lib/rainbows/reverse_proxy/coolio.rb @@ -36,17 +36,17 @@ module Rainbows::ReverseProxy::Coolio return close end while true # we always read until EAGAIN or EOF - rescue => e - case e - when Errno::ECONNRESET - @env['async.callback'].call(@response) - return close - when SystemCallError - else - Unicorn.log_error(@env["rack.logger"], "on_readable", e) - end - @env['async.callback'].call(Rainbows::ReverseProxy::E502) - close + rescue => e + case e + when Errno::ECONNRESET + @env['async.callback'].call(@response) + return close + when SystemCallError + else + Unicorn.log_error(@env["rack.logger"], "on_readable", e) + end + @env['async.callback'].call(Rainbows::ReverseProxy::E502) + close end end -- cgit v1.2.3-24-ge0c7