From e20f7e8460a41a460f232c9e3e2fe0cc5d04a8da Mon Sep 17 00:00:00 2001 From: Wendel Fabian Chinsamy Date: Fri, 15 Nov 2024 17:49:45 +0200 Subject: [PATCH] fix rubocop offence --- lib/middleware/compressed_requests.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]]