JobResult result = null;
try {
result = helper.removeOrganizationalUnit(jobRequest.getJobId(), jobRequest.getOrganizationalUnitName());
} finally {
JobStatus status = result != null ? result.getStatus() : JobStatus.SERVER_ERROR;
logger.debug( "-----removeOrganizationalUnit--- , OrganizationalUnit name: {}",
jobRequest.getOrganizationalUnitName(), status);
}
return result;
}