Skip to content

Commit

Permalink
change status code
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Nov 18, 2024
1 parent 3839f8b commit 0a0e0eb
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 @@ -34,7 +34,7 @@ def call(env)
rescue => err
Raven.capture_exception(err)
Rails.logger.error(err.inspect)
[500, {}, [{ "status": 500, "title": err.message }.to_json]]
[500, {}, [{ "status": 400, "title": err.message }.to_json]]
end
end

Expand Down

0 comments on commit 0a0e0eb

Please sign in to comment.