There are some instances where an inventory item is requested and therefore saved twice. This shouldn't be logged as an error.

This commit is contained in:
Christian Basler 2015-07-03 14:46:55 +02:00
parent 6f50c200ee
commit 6fbb3f850d

View File

@ -131,7 +131,7 @@ public class JdbcInventory extends JdbcHelper implements Inventory {
ps.setLong(6, object.getVersion());
ps.executeUpdate();
} catch (SQLException e) {
LOG.error("Error storing object of type " + object.getPayload().getClass().getSimpleName(), e);
LOG.debug("Error storing object of type " + object.getPayload().getClass().getSimpleName(), e);
} catch (Exception e) {
LOG.error(e.getMessage(), e);
}