mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-29 05:26:12 +01:00
Include the exception message
This commit is contained in:
parent
e4c2fd6ef1
commit
ec8032a688
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user