diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-06-03 10:39:26 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-06-03 10:39:26 +0100 |
| commit | 3a1c48b57a812ba11296e49ede79342b0531c0e1 (patch) | |
| tree | 6f39ba84f85b89f0e1f5f4de1c42481fead13edd /src/main/java | |
| parent | e7958ab7b5a7ef2e63373c39bc479f211910d8cd (diff) | |
Move debug messages
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/com/leonardobishop/quests/storage/YamlStorageProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/leonardobishop/quests/storage/YamlStorageProvider.java b/src/main/java/com/leonardobishop/quests/storage/YamlStorageProvider.java index 498a413f..690e6fed 100644 --- a/src/main/java/com/leonardobishop/quests/storage/YamlStorageProvider.java +++ b/src/main/java/com/leonardobishop/quests/storage/YamlStorageProvider.java @@ -117,10 +117,11 @@ public class YamlStorageProvider implements StorageProvider { plugin.getQuestsLogger().debug("Writing player " + uuid + " to disk."); try { data.save(file); + plugin.getQuestsLogger().debug("Write of player " + uuid + " to disk complete."); } catch (IOException e) { + plugin.getQuestsLogger().debug("Failed to write player: " + uuid + "!."); e.printStackTrace(); } - plugin.getQuestsLogger().debug("Write of player " + uuid + " to disk complete."); } finally { unlock(uuid); } |
