Skip to content

Commit

Permalink
fix: name
Browse files Browse the repository at this point in the history
  • Loading branch information
kuroweb committed Oct 17, 2024
1 parent bbea939 commit e6399c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class ApplicationController < ActionController::API
rescue_from ActiveRecord::RecordNotFound, with: :not_found_error

def internal_server_error(exception)
BugSnag.notify(exception)
Bugsnag.notify(exception)
Rails.logger.error("Internal Server Error. exception: #{exception.full_message}")
render json: { error: "Internal Server Error.", status: 503 }, status: :service_unavailable
end
Expand Down

0 comments on commit e6399c7

Please sign in to comment.