Skip to content

Commit

Permalink
Merge pull request #386 from modelix/fix/misleading-import-log
Browse files Browse the repository at this point in the history
fix(bulk-model-sync-gradle): clarify log messages during import
  • Loading branch information
mhuster23 authored Jan 2, 2024
2 parents 344f5d8 + 1c385da commit 69b3a42
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,19 @@ abstract class ImportIntoModelServer @Inject constructor(of: ObjectFactory) : De
if (files.isNullOrEmpty()) error("no json files found for included modules")

runBlocking {
logger.info("Initializing client...")
client.init()
logger.info("Importing...")
client.runWrite(branchRef) { rootNode ->
rootNode.runBulkUpdate {
logger.info("Got root node: {}", rootNode)
logger.info("Importing...")
logger.info("Calculating diff...")
ModelImporter(rootNode, continueOnError.get()).importFilesAsRootChildren(files)
logger.info("Import finished")
}
logger.info("Sending diff to server...")
}
}
logger.info("Import finished.")
}
}

Expand Down

0 comments on commit 69b3a42

Please sign in to comment.