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

finally block with out a catch propagates the exception #85

Open
moorena opened this issue Nov 14, 2024 · 0 comments
Open

finally block with out a catch propagates the exception #85

moorena opened this issue Nov 14, 2024 · 0 comments

Comments

@moorena
Copy link

moorena commented Nov 14, 2024

} finally {
// Do nothing if it fails because we don't want this to be a blocker
// Most requests will timeout waiting for a response, but we want to fire and forget
// so as long as Affirm receives our request we are okay
}

A try with no catch will propagate the exception.

Contrary to the comment, the finally block does not eat the exception.

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

No branches or pull requests

1 participant