From 41cf4495f24ea88f175660230d1cafea676e9eff Mon Sep 17 00:00:00 2001 From: Wendel Fabian Chinsamy Date: Fri, 15 Nov 2024 17:48:36 +0200 Subject: [PATCH] fix rubocop offence --- lib/middleware/compressed_requests.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/middleware/compressed_requests.rb b/lib/middleware/compressed_requests.rb index 988ba62d8..f1de08b2b 100644 --- a/lib/middleware/compressed_requests.rb +++ b/lib/middleware/compressed_requests.rb @@ -31,10 +31,10 @@ 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]] + [500, {}, [{ "status": 400, "title": err.message }.to_json]] end end