Skip to content

DefaultExecutionEngine swallows Errors #38

@manuel-hegner

Description

@manuel-hegner

Currently, if a task throws an error the DefaultExecutionEngine swallows it.

At fault is this line:
https://github.com/dexecutor/dexecutor-core/blob/f474b9116e88fe1f71dff46a013eaab5463c8287/src/main/java/com/github/dexecutor/core/DefaultExecutionEngine.java#L138C1-L138C28

here the catch only catches Exceptions, but not other throwables. The finally assumes that a result is set though, which will not be the case if the task failes with an error.

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