mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08: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…
Add table
Add a link
Reference in a new issue