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 #2072 throw an exception instead of a crash for unknown type plat… #2078

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

remonh87
Copy link
Member

…form pay supported

if (result is bool) {
isSupported = result;
} else {
throw StripeException(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would then result in a different exception rather than a fix. Did you find out what the result contains if not bool?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry forgot to force push 😂

@remonh87 remonh87 force-pushed the fix-2072-unknown-type branch from d23c489 to 31cee71 Compare February 17, 2025 16:52
@remonh87 remonh87 merged commit 8db2527 into main Feb 27, 2025
6 of 8 checks passed
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.

2 participants