Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Ensure Consistent Return of result Object on Stripe Exceptions #2263

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

brunomiguelpinto
Copy link
Contributor

Description

This PR addresses an issue where the create method in the Invoices::Payments::StripeService class could return nil in case of certain Stripe exceptions. This inconsistency in the return type could lead to unexpected behaviors in the calling code.

@brunomiguelpinto brunomiguelpinto marked this pull request as ready for review July 8, 2024 15:25
@brunomiguelpinto brunomiguelpinto merged commit dc28133 into main Jul 8, 2024
6 checks passed
@brunomiguelpinto brunomiguelpinto deleted the fix-consistent-result-on-exceptions branch July 8, 2024 15:45
abdussamadbello pushed a commit to abdussamadbello/lago-api that referenced this pull request Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants