diff --git a/helios-services/src/main/java/com/spotify/helios/agent/TaskRunner.java b/helios-services/src/main/java/com/spotify/helios/agent/TaskRunner.java index b01541f14..31d5b7770 100644 --- a/helios-services/src/main/java/com/spotify/helios/agent/TaskRunner.java +++ b/helios-services/src/main/java/com/spotify/helios/agent/TaskRunner.java @@ -196,6 +196,7 @@ private int run0() throws InterruptedException, DockerException { final String err = "container " + containerId + " exited during health checking. " + "Exit code: " + state.exitCode() + ", Config: " + config; log.warn(err); + listener.exited(state.exitCode()); throw new RuntimeException(err); }