removed ASL Session, ported to gCube Client Context

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134185 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-11-15 13:46:42 +00:00
parent 800f06bb34
commit 056e9adfca
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}