try {
model.put("repositoryInfos", server.getRepositoryInfos());
}
catch (RepositoryException e) {
model.put("repositoryInfos", Collections.emptyList());
model.put("message", new Message(Message.Type.WARN, "server.overview.repositoryInfoError"));
}
model.put("location", server.getLocation());
return new ModelAndView("server/overview", model);