Added server logs

This commit is contained in:
Oleg Agafonov 2019-03-04 06:31:40 +04:00
parent f0e56ae71c
commit 48a36c6fc4

View file

@ -58,7 +58,7 @@ public enum UserManager {
public Optional<User> getUser(UUID userId) { public Optional<User> getUser(UUID userId) {
if (!users.containsKey(userId)) { if (!users.containsKey(userId)) {
logger.warn(String.format("User with id %s could not be found", userId));; logger.warn(String.format("User with id %s could not be found", userId), new Throwable()); // TODO: remove after session freezes fixed
return Optional.empty(); return Optional.empty();
} else { } else {
return Optional.of(users.get(userId)); return Optional.of(users.get(userId));