mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-25 19:45:36 +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);
|
itemDao.update(item);
|
||||||
updated.getAndIncrement();
|
updated.getAndIncrement();
|
||||||
} catch (RuntimeException e) {
|
} 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) {
|
} catch (IOException | ClassNotFoundException | SQLException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user