Skip to content

Commit 1c8c1e3

Browse files
committed
fix(bulk-model-sync): more detailed error message for unexpected concept changes
1 parent 5df8b89 commit 1c8c1e3

File tree

1 file changed

+1
-1
lines changed
  • bulk-model-sync-lib/src/commonMain/kotlin/org/modelix/model/sync/bulk

1 file changed

+1
-1
lines changed

bulk-model-sync-lib/src/commonMain/kotlin/org/modelix/model/sync/bulk/ModelImporter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ class ModelImporter(
252252
} else {
253253
nodeAtIndex
254254
}
255-
check(childNode.getConceptReference() == expectedConcept) { "Unexpected concept change" }
255+
check(childNode.getConceptReference() == expectedConcept) { "Unexpected concept change from $expectedConcept to ${childNode.getConceptReference()}" }
256256

257257
syncNode(childNode, expected, progressReporter)
258258
}

0 commit comments

Comments
 (0)