mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
Added server logs
This commit is contained in:
parent
f0e56ae71c
commit
48a36c6fc4
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue