try {
// parse bugtraq repo config
BugtraqConfig config = BugtraqConfig.read(repository);
if (config != null) {
BugtraqFormatter formatter = new BugtraqFormatter(config);
StringBuilder sb = new StringBuilder();
formatter.formatLogMessage(text, new BugtraqOutputHandler(sb));
text = sb.toString();
}
} catch (IOException e) {
logger.error(MessageFormat.format("Bugtraq config for {0} is invalid!", repositoryName), e);
} catch (ConfigInvalidException e) {