Skip to content

Commit

Permalink
fix rubocop offence
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Nov 15, 2024
1 parent a4ea81a commit 41cf449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/middleware/compressed_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 41cf449

Please sign in to comment.