about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-21 13:13:48 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-21 13:13:48 -0700
commit90e68ef4d28615887e3a102e2233ceb46509f272 (patch)
tree1940c289e0b215eed98e0f7c15e15994037a1f80 /lib
parentef6a84736a1c653c6a56e9efe301df5b7abf7d73 (diff)
downloadunicorn-90e68ef4d28615887e3a102e2233ceb46509f272.tar.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/unicorn/http_request.rb2
1 files changed, 1 insertions, 1 deletions
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