Skip to content

Commit

Permalink
feat(core): don't include the secret service base64 decode exception …
Browse files Browse the repository at this point in the history
…in the log
  • Loading branch information
loicmathieu committed Sep 12, 2023
1 parent e9517a5 commit 5f3045e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5f3045e

Please sign in to comment.