Skip to content
Snippets Groups Projects
Commit d655afa6 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

added abort to TerminatingSignal

parent f4bb7747
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ import java.util.List;
import java.util.Set;
import teetime.framework.InputPort;
import teetime.framework.RuntimeServiceFacade;
import teetime.framework.Stage;
public final class TerminatingSignal extends AbstractSignal {
......@@ -29,6 +30,7 @@ public final class TerminatingSignal extends AbstractSignal {
stage.onTerminating();
} catch (final Exception e) { // NOCS NOPMD (Stages can throw any arbitrary Exception)
this.catchedExceptions.add(e);
RuntimeServiceFacade.INSTANCE.abortExecution(stage);
LOGGER.error("Exception while sending the termination signal", e);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment