lib/em-http-server/server.rb in em-http-server-0.1.5 vs lib/em-http-server/server.rb in em-http-server-0.1.6
- old
+ new
@@ -30,10 +30,10 @@
process_http_request
end
rescue Exception => e
# invoke the method in the user-provided instance
if respond_to?(:http_request_errback)
- http_request_errback
+ http_request_errback e
end
end
# parse the first HTTP header line
# get the http METHOD, URI and PROTOCOL
\ No newline at end of file