diff --git a/src/main/java/org/gcube/portal/threadlocalexec/SmartGearsPortalValve.java b/src/main/java/org/gcube/portal/threadlocalexec/SmartGearsPortalValve.java index 13b9812..79e84a0 100644 --- a/src/main/java/org/gcube/portal/threadlocalexec/SmartGearsPortalValve.java +++ b/src/main/java/org/gcube/portal/threadlocalexec/SmartGearsPortalValve.java @@ -87,10 +87,10 @@ public class SmartGearsPortalValve extends ValveBase { userId = Long.parseLong(userIdNo); return UserLocalServiceUtil.getUser(userId).getScreenName(); } catch (NumberFormatException e) { - _log.error("The userId is not a number -> " + userId); + _log.error("The userId is not a number -> " + userIdNo); return null; } catch (Exception e) { - _log.error("The userId does not belong to any user -> " + userId); + _log.error("The userId does not belong to any user -> " + userIdNo); return null; } }