Skip to content

Commit

Permalink
fix(stripe): Prevent stripe error form behing reraised (#1762)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet authored Mar 7, 2024
1 parent 31a528a commit f8acf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/payment_providers/stripe_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def handle_event(organization:, event_json:)
raise if event.livemode

Rails.logger.warn("Stripe resource not found: #{e.message}. JSON: #{event_json}")
result
BaseService::Result.new # NOTE: Prevents error from being re-raised
end

private
Expand Down

0 comments on commit f8acf03

Please sign in to comment.