Skip to content

finally block with out a catch propagates the exception #85

@moorena

Description

@moorena

} 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions