From 7c8807820a217f33c66f496b05863e9d77d8c7e8 Mon Sep 17 00:00:00 2001 From: YuriyZ Date: Mon, 7 Mar 2022 14:02:18 +0200 Subject: [PATCH] fix(jans-auth-server): corrected sonar reported issue https://github.com/GluuFederation/oxAuth/issues/1646 --- .../main/java/io/jans/as/server/service/SessionIdService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jans-auth-server/server/src/main/java/io/jans/as/server/service/SessionIdService.java b/jans-auth-server/server/src/main/java/io/jans/as/server/service/SessionIdService.java index d4ef90b1213..07df635cfb4 100644 --- a/jans-auth-server/server/src/main/java/io/jans/as/server/service/SessionIdService.java +++ b/jans-auth-server/server/src/main/java/io/jans/as/server/service/SessionIdService.java @@ -801,7 +801,7 @@ public SessionId getSessionByDn(@Nullable String dn, boolean silently) { return sessionId; } catch (Exception e) { if (!silently) { - log.error("Failed to get session by dn: " + dn + ". " + e.getMessage()); + log.error("Failed to get session by dn: {}. {}", dn, e.getMessage()); } } return null;