From 5f3045e965437d7a472e47e42347f67f7e006520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mathieu?= Date: Mon, 11 Sep 2023 17:58:14 +0200 Subject: [PATCH] feat(core): don't include the secret service base64 decode exception in the log --- core/src/main/java/io/kestra/core/secret/SecretService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/io/kestra/core/secret/SecretService.java b/core/src/main/java/io/kestra/core/secret/SecretService.java index 5cb9bbd98a3..17f37a2fe92 100644 --- a/core/src/main/java/io/kestra/core/secret/SecretService.java +++ b/core/src/main/java/io/kestra/core/secret/SecretService.java @@ -27,7 +27,7 @@ private void postConstruct() { try { consumer.accept(Map.entry(entry.getKey(), new String(Base64.getDecoder().decode(entry.getValue())))); } catch (Exception e) { - log.error("Could not decode secret '{}', make sure it is Base64-encoded", entry.getKey(), e); + log.error("Could not decode secret '{}', make sure it is Base64-encoded: {}", entry.getKey(), e.getMessage()); } }) .collect(Collectors.toMap(