lib/em-jack/handlers/errors.rb in em-jack-0.0.6 vs lib/em-jack/handlers/errors.rb in em-jack-0.0.7

- old
+ new

@@ -5,10 +5,10 @@ def self.handles?(response) response =~ RESPONSE end - def self.handle(deferrable, response, body) + def self.handle(deferrable, response, body, conn=nil) return false unless response =~ RESPONSE deferrable.fail($1.downcase.to_sym) true end \ No newline at end of file