diff --git a/lib/middleware/compressed_requests.rb b/lib/middleware/compressed_requests.rb index f1de08b2b..7b23a99c3 100644 --- a/lib/middleware/compressed_requests.rb +++ b/lib/middleware/compressed_requests.rb @@ -31,7 +31,7 @@ def call(env) begin status, headers, response = @app.call(env) [status, headers, response] - rescue => errß + rescue => err Raven.capture_exception(err) Rails.logger.error(err.inspect) [500, {}, [{ "status": 400, "title": err.message }.to_json]]