This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects

Resolve "Die Statistiken sollten auch in ElasticSearch hinterlegt werden."

Compare and Show latest version
7 files
+ 253
3
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -934,8 +934,12 @@ public class GitlabEventService {
logger.warn("Team Event {} not handled", gitLabEvent.getEventName());
}
} else {
logger.error("Cannot handle event {}", gitLabEvent.getEventName());
throw new MethodNotFoundException(gitLabEvent.getEventName(), null);
if ("repository_update".equals(gitLabEvent.getEventName())) {
logger.debug("Ignoring event {}", gitLabEvent.getEventName());
} else {
logger.error("Cannot handle event {}", gitLabEvent.getEventName());
throw new MethodNotFoundException(gitLabEvent.getEventName(), null);
}
}
} catch (GitLabApiException | IOException e) {
logger.error("Cannot process gitLab event {} ({})", gitLabEvent.getEventName(), gitLabEvent.getRequestUrl(), e);