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 41cf449 commit e20f7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware/compressed_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit e20f7e8

Please sign in to comment.