refactor: Improve `getUserCheckedOut` debug log

feat/data-edit-commands
William 1 year ago
parent 4db162e78f
commit 8e0ad76968
No known key found for this signature in database

@ -230,7 +230,7 @@ public class RedisManager extends JedisPubSub {
} catch (Throwable e) { } catch (Throwable e) {
plugin.log(Level.SEVERE, "An exception occurred getting a user's checkout key from Redis", e); plugin.log(Level.SEVERE, "An exception occurred getting a user's checkout key from Redis", e);
} }
plugin.debug(String.format("[%s] %s key no longer set on Redis", user.getUsername(), plugin.debug(String.format("[%s] %s key not set on Redis", user.getUsername(),
RedisKeyType.DATA_CHECKOUT)); RedisKeyType.DATA_CHECKOUT));
return Optional.empty(); return Optional.empty();
} }

Loading…
Cancel
Save