Thanks to visit codestin.com
Credit goes to github.com

Skip to content

HandlerFailedException could wrap multiple exceptions #338

Closed
@Jean85

Description

@Jean85

As pointed out by @B-Galati and following comments here, the Symfony Messenger could have multiple synchronous handlers for the same message. If multiple handlers fail in this case, the resulting single HandlerFailedException would wrap all the raised exceptions.

To fix this, we probably have to iterate over $error->getNestedExceptions() and capture them all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions