Skip to content

Commit

Permalink
Include the exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoenix616 committed Jul 4, 2024
1 parent e4c2fd6 commit ec8032a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private boolean updateMetadataVersion(int previousVersion, int newVersion) {
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) {
Expand Down

0 comments on commit ec8032a

Please sign in to comment.