git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134128 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e1dbad90dd
commit
800f06bb34
|
@ -88,8 +88,10 @@ public class SmartGearsPortalValve extends ValveBase {
|
||||||
return UserLocalServiceUtil.getUser(userId).getScreenName();
|
return UserLocalServiceUtil.getUser(userId).getScreenName();
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
_log.error("The userId is not a number -> " + userId);
|
_log.error("The userId is not a number -> " + userId);
|
||||||
|
return null;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
_log.error("The userId does not belong to any user -> " + userId);
|
_log.error("The userId does not belong to any user -> " + userId);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue