Added TODO in HSQLDBRepository about deadlock log spam

This commit is contained in:
catbref 2021-03-13 18:29:31 +00:00
parent bce66bf57f
commit d635de44a8

View File

@ -931,6 +931,8 @@ public class HSQLDBRepository implements Repository {
/** Logs other HSQLDB sessions then returns passed exception */
public SQLException examineException(SQLException e) {
// TODO: could log at DEBUG for deadlocks by checking RepositoryManager.isDeadlockRelated(e)?
LOGGER.error(() -> String.format("[Session %d] HSQLDB error: %s", this.sessionId, e.getMessage()), e);
logStatements();