From 610f6d3073236fff8199b81f3e40f62804617e91 Mon Sep 17 00:00:00 2001 From: iambibi_ <89582596+iambibi@users.noreply.github.com> Date: Sun, 9 Aug 2026 11:44:40 +0200 Subject: [PATCH] fix: throw block all --- .../fr/openmc/core/features/toor/InternalToorApiClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } }