diff --git a/li.strolch.rest/src/main/java/li/strolch/rest/endpoint/AuthenticationService.java b/li.strolch.rest/src/main/java/li/strolch/rest/endpoint/AuthenticationService.java index 1e8a78b39..6f0fc645a 100644 --- a/li.strolch.rest/src/main/java/li/strolch/rest/endpoint/AuthenticationService.java +++ b/li.strolch.rest/src/main/java/li/strolch/rest/endpoint/AuthenticationService.java @@ -233,7 +233,7 @@ public class AuthenticationService { return Response.ok().build(); } catch (StrolchException | PrivilegeException e) { - logger.error(e.getMessage(), e); + logger.error("Session validation failed: " + e.getMessage()); JsonObject root = new JsonObject(); root.addProperty("msg", MessageFormat.format("Session invalid: {0}", e.getMessage())); String json = new Gson().toJson(root);