diff --git a/src/main/java/org/qortal/repository/hsqldb/HSQLDBRepository.java b/src/main/java/org/qortal/repository/hsqldb/HSQLDBRepository.java index 904bd9fb..7c514d73 100644 --- a/src/main/java/org/qortal/repository/hsqldb/HSQLDBRepository.java +++ b/src/main/java/org/qortal/repository/hsqldb/HSQLDBRepository.java @@ -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();