Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
run rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnIckler committed Sep 6, 2024
1 parent 17df66d commit dd74da4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/controllers/errors_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

class ErrorsController < ApplicationController
def show
exception = request.env["action_dispatch.exception"]
exception = request.env['action_dispatch.exception']
status_code = ActionDispatch::ExceptionWrapper.new(request.env, exception).status_code
request_id = request.env["action_dispatch.request_id"]
request_id = request.env['action_dispatch.request_id']
render json: { error: ErrorCodes::INTERNAL_SERVER_ERROR, request_id: request_id }, status: status_code
end
end
end

0 comments on commit dd74da4

Please sign in to comment.