diff --git a/src/main/java/fr/openmc/core/features/toor/InternalToorApiClient.java b/src/main/java/fr/openmc/core/features/toor/InternalToorApiClient.java index 37a4dd3d2..60c675e15 100644 --- a/src/main/java/fr/openmc/core/features/toor/InternalToorApiClient.java +++ b/src/main/java/fr/openmc/core/features/toor/InternalToorApiClient.java @@ -148,7 +148,8 @@ public static GithubStatus checkGithubStatus(UUID uuid) { Long githubId = rawId == null ? null : ((Number) rawId).longValue(); return new GithubStatus(true, githubId); } catch (Exception e) { - throw new RuntimeException(e); + OMCLogger.warn("Impossible de contacter l'API interne du bot (github status): {}", e.getMessage(), e); + return GithubStatus.NOT_LINKED; } }