Skip to content

Commit

Permalink
Merge pull request #914 from HubSpot/exception_wrap
Browse files Browse the repository at this point in the history
include docker exeception cause in thread checker
  • Loading branch information
ssalinas committed Feb 23, 2016
2 parents 96469bb + 333d634 commit 8d46005
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 8d46005

Please # to comment.