diff --git a/src/main/java/org/springframework/data/release/projectservice/ProjectServiceOperations.java b/src/main/java/org/springframework/data/release/projectservice/ProjectServiceOperations.java index 3e7b2f3..79c44fc 100644 --- a/src/main/java/org/springframework/data/release/projectservice/ProjectServiceOperations.java +++ b/src/main/java/org/springframework/data/release/projectservice/ProjectServiceOperations.java @@ -89,21 +89,8 @@ class ProjectServiceOperations { // Sometimes we see 404 Not Found: [no body], sometimes // 400 Bad Request: "Release '2.2.13-SNAPSHOT' already present - RuntimeException rethrow = null; - for (int i = 0; i < 5; i++) { - - try { - client.updateProjectMetadata(entry.getKey(), entry.getValue()); - return; - } catch (RuntimeException e) { - rethrow = e; - logger.warn(entry.getKey(), e.toString()); - } - } - - if (rethrow != null) { - throw rethrow; - } + // still we should fail here and report those failures to the website team + client.updateProjectMetadata(entry.getKey(), entry.getValue()); }); }