Skip to content

saga's totalCompensation eagerly throws CancellationException #3926

Description

@kyay10

mergeSuppressed already handles fatal exceptions in other properly, so the following line is useless:

acc mergeSuppressed e.nonFatalOrThrow()

Even worse, it throws CancellationException too eagerly. This doesn't match the behavior of resourceScope, for one.
changing it to acc mergeSuppressed e would fix the issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions