diff --git a/lib/middleware/compressed_requests.rb b/lib/middleware/compressed_requests.rb index 7b23a99c3..02ffbf541 100644 --- a/lib/middleware/compressed_requests.rb +++ b/lib/middleware/compressed_requests.rb @@ -28,14 +28,8 @@ def call(env) env["rack.input"] = StringIO.new(extracted) end - begin - status, headers, response = @app.call(env) - [status, headers, response] - rescue => err - Raven.capture_exception(err) - Rails.logger.error(err.inspect) - [500, {}, [{ "status": 400, "title": err.message }.to_json]] - end + status, headers, response = @app.call(env) + [status, headers, response] end def decode(input, content_encoding)