Skip to content

Commit

Permalink
Added log for when skipping empty participant
Browse files Browse the repository at this point in the history
  • Loading branch information
njhlai committed Feb 16, 2022
1 parent 39f681d commit b2202b3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ class V3StudyMigrationUpgrade(
private fun insertIntoCandidatesTable(conn: Connection, studyId: UUID, fqnToValue: Map<FullQualifiedName, Set<Any>>) {
val columns = fqnToCandidatesColumnName.filter { fqnToValue.containsKey(it.key) }
if (columns.isEmpty()) {
logger.info("No useful property to record for participant ${fqnToValue}, skipping")
return
}

Expand Down

0 comments on commit b2202b3

Please sign in to comment.