From 966de87ef913f18ed6582f82a1fb3659b41be33c Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Sun, 3 Aug 2014 20:57:28 -0400 Subject: [PATCH] Print reason --- .../gmail/nossr50/runnables/database/UUIDUpdateAsyncTask.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/runnables/database/UUIDUpdateAsyncTask.java b/src/main/java/com/gmail/nossr50/runnables/database/UUIDUpdateAsyncTask.java index e9cde41d4..a97f11c25 100644 --- a/src/main/java/com/gmail/nossr50/runnables/database/UUIDUpdateAsyncTask.java +++ b/src/main/java/com/gmail/nossr50/runnables/database/UUIDUpdateAsyncTask.java @@ -4,6 +4,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; +import java.util.logging.Level; import org.bukkit.scheduler.BukkitRunnable; @@ -54,7 +55,7 @@ public class UUIDUpdateAsyncTask extends BukkitRunnable { fetchedUUIDs.putAll(new UUIDFetcher(userNamesSection).call()); } catch (Exception e) { - plugin.getLogger().severe("Unable to fetch UUIDs!"); + plugin.getLogger().log(Level.SEVERE, "Unable to fetch UUIDs!", e); return; }