Skip to content

Commit

Permalink
Fix billing service error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
mayorova committed Sep 18, 2024
1 parent c98b003 commit 645960f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/services/finance/billing_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ def report_error(error)
message = "Failed to perform billing job: #{error.message}"
Rails.logger.error(message)
System::ErrorReporting.report_error(error, error_message: message,
error_class: error.class.name,
exception: error)
error_class: error.class.name)
end
end
end

0 comments on commit 645960f

Please sign in to comment.