Skip to content

Error in events#309

Open
debovema wants to merge 2 commits into
TIBCOSoftware:masterfrom
square-it:error-in-events
Open

Error in events#309
debovema wants to merge 2 commits into
TIBCOSoftware:masterfrom
square-it:error-in-events

Conversation

@debovema
Copy link
Copy Markdown

What kind of change does this PR introduce? (check one with "x")

[x] Bugfix
[] Feature
[] Code style update (formatting, local variables)
[] Refactoring (no functional changes, no api changes)
[] Other... Please describe:

Fixes: N/A

What is the current behavior?
FlowEvent.FlowError() & TaskEvent.TaskError() do not return any error even though an error has been thrown. This is caused by SetStatus being called too early (before the error is assigned to the right field)

What is the new behavior?
The methods return the errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant