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:
parent
6f50c200ee
commit
6fbb3f850d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user