lib/em-http/middleware/json_response.rb in em-http-request-1.1.2 vs lib/em-http/middleware/json_response.rb in em-http-request-1.1.3
- old
+ new
@@ -5,10 +5,10 @@
class JSONResponse
def response(resp)
begin
body = MultiJson.load(resp.response)
resp.response = body
- rescue Exception => e
+ rescue => e
end
end
end
end
end