summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/UserMap.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/UserMap.java b/Essentials/src/com/earth2me/essentials/UserMap.java
index 271d7d0ab..69ddb5354 100644
--- a/Essentials/src/com/earth2me/essentials/UserMap.java
+++ b/Essentials/src/com/earth2me/essentials/UserMap.java
@@ -1,11 +1,14 @@
package com.earth2me.essentials;
import com.google.common.base.Function;
+import com.google.common.collect.ComputationException;
import com.google.common.collect.MapMaker;
import java.io.File;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.ConcurrentMap;
+import java.util.logging.Level;
+import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
@@ -47,6 +50,10 @@ public class UserMap implements Function<String, User>, IConf
{
// Ignore these
}
+ catch (ComputationException ex)
+ {
+ Bukkit.getLogger().log(Level.INFO, "Failed to preload user "+name, ex);
+ }
}
}
});