use of de.cinovo.cloudconductor.agent.jobs.handler.PackageHandler in project cloudconductor-agent-redhat by cinovo.
the class DefaultJob method handlePackages.
private void handlePackages() {
try {
PackageHandler packageHandler = new PackageHandler();
packageHandler.run();
} catch (ExecutionError e) {
if (e.getCause() instanceof CloudConductorException) {
DefaultJob.LOGGER.error("Error handling packages: " + e.getMessage(), e);
} else {
DefaultJob.LOGGER.error("Error handling packages: " + e.getMessage());
}
}
}
Aggregations