diff --git a/SingularityExecutor/src/main/java/com/hubspot/singularity/executor/SingularityExecutorThreadChecker.java b/SingularityExecutor/src/main/java/com/hubspot/singularity/executor/SingularityExecutorThreadChecker.java index 38fa1a93ae..420fe9a129 100644 --- a/SingularityExecutor/src/main/java/com/hubspot/singularity/executor/SingularityExecutorThreadChecker.java +++ b/SingularityExecutor/src/main/java/com/hubspot/singularity/executor/SingularityExecutorThreadChecker.java @@ -123,7 +123,7 @@ private int getNumUsedThreads(SingularityExecutorTaskProcessCallable taskProcess dockerPid = Optional.of(possiblePid); } } catch (DockerException e) { - throw new ProcessFailedException(String.format("Could not get docker root pid due to error: %s", e)); + throw new ProcessFailedException("Could not get docker root pid due to error", e); } }