From 90e68ef4d28615887e3a102e2233ceb46509f272 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 21 Mar 2009 13:13:48 -0700 Subject: HttpRequest: correctly reference logger --- lib/unicorn/http_request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index f2fe486..411c56c 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -153,7 +153,7 @@ module Unicorn end true # success! rescue Object => e - logger.error "Error reading HTTP body: #{e.inspect}" + @logger.error "Error reading HTTP body: #{e.inspect}" socket.closed? or socket.close rescue nil # Any errors means we should delete the file, including if the file -- cgit v1.2.3-24-ge0c7