Skip to content

The IResultHandler.RuntimeError doesn't stop the algorithm #9273

@Romazes

Description

@Romazes

Expected Behavior

Calling RuntimeError() on IResultHandler should terminate the algorithm.

var resultHandler = Composer.Instance.GetPart<IResultHandler>();
resultHandler.RuntimeError();

Actual Behavior

Nothing happens in the algorithm. Only a log entry appears in the console.

Potential Solution

N/a

Reproducing the Problem

Call the RuntimeError in any consumer (brokerage/datasource):

var resultHandler = Composer.Instance.GetPart<IResultHandler>();
resultHandler.RuntimeError();

Observe that the algorithm continues running instead of terminating.

System Information

N/a

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue

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