Skip to content

[BUG] Transformer errors saves invalid transformed message #295

@mgaffigan

Description

@mgaffigan

Describe the bug
An error during a transformer results in invalid data in the "transformed" message.

To Reproduce
Add channel mapping XML to JSON. Set source outbound message template to {}. Add throw Error('Always'); as transformer.

Expected behavior
Transformed message should be {}

Actual behavior
Transformed message is the original xml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    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