From ec8032a6882d0625a2bca15d608ed4ff44a61217 Mon Sep 17 00:00:00 2001 From: Phoenix616 Date: Thu, 4 Jul 2024 19:39:32 +0100 Subject: [PATCH] Include the exception message --- src/main/java/com/Acrobot/ChestShop/Metadata/ItemDatabase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/Acrobot/ChestShop/Metadata/ItemDatabase.java b/src/main/java/com/Acrobot/ChestShop/Metadata/ItemDatabase.java index 60f0430..a414a57 100644 --- a/src/main/java/com/Acrobot/ChestShop/Metadata/ItemDatabase.java +++ b/src/main/java/com/Acrobot/ChestShop/Metadata/ItemDatabase.java @@ -105,7 +105,7 @@ public class ItemDatabase { itemDao.update(item); updated.getAndIncrement(); } catch (RuntimeException e) { - ChestShop.getBukkitLogger().log(Level.SEVERE, "YAML of the item with ID " + Base62.encode(item.getId()) + " (" + item.getId() + ") is corrupted: \n" + serialized); + ChestShop.getBukkitLogger().log(Level.SEVERE, "YAML of the item with ID " + Base62.encode(item.getId()) + " (" + item.getId() + ") is corrupted: \n" + serialized + "\n" + e.getMessage()); } } } catch (IOException | ClassNotFoundException | SQLException e) {