public void notifyRepoUpdate(String tenantDomain, String cartridgeAlias) throws Exception {
// FIXME Throwing generic Exception is wrong
log.info("Updating repository of tenant : " + tenantDomain + " , cartridge: " +
cartridgeAlias);
CartridgeSubscription subscription = null;
try {
subscription = PersistenceManager.getSubscription(tenantDomain, cartridgeAlias);
} catch (Exception e) {
String msg = "Failed to find subscription for " + cartridgeAlias + ". "
+ (e.getMessage() != null ? e.getMessage() : "");