protected void doBuild(DaemonCommandExecution execution, Build build) {
LOGGER.debug(DaemonMessages.STARTED_BUILD);
LOGGER.info("Executing build with daemon context: {}", execution.getDaemonContext());
try {
BuildCancellationToken cancellationToken = execution.getDaemonStateControl().getCancellationToken();
Object result = actionExecuter.execute(build.getAction(), cancellationToken, build.getParameters());
execution.setResult(result);
} catch (ReportedException e) {
/*
We have to wrap in a ReportedException so the other side doesn't re-log this exception, because it's already