try {
logger.debug("Starting repository: " + name);
repositories.put(name, new LRepositoryImpl(engine.getRepository(name), credentials));
} catch (Exception e) {
logger.debug("Could not start repository " + name, e);
throw new RemoteException(e.getMessage());
}
}
return repositories.get(name);
}