获取推荐好友 null 判断
parent
c887793262
commit
f61e384ff8
|
@ -810,7 +810,12 @@ public class CBean2Proto {
|
|||
|
||||
|
||||
public static CommonProto.Friend getFriendInfo(int friendId, FriendManager friendManager) throws Exception {
|
||||
User user = UserManager.getUser(friendId);
|
||||
User user = null;
|
||||
try {
|
||||
user = UserManager.getUser(friendId);
|
||||
} catch (Exception e) {
|
||||
LOGGER.info("getFriendInfo user == null friendId={} e={}", friendId, e.toString());
|
||||
}
|
||||
if (user == null) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue