Skip to content

Commit cab485d

Browse files
committed
minor change
1 parent 3e7e8cd commit cab485d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

citydb-cli/src/main/java/org/citydb/cli/importer/ImportController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ protected boolean doImport() throws ExecutionException {
150150
importer.startSession(databaseManager.getAdapter(), importOptions);
151151

152152
reader.read(feature -> {
153+
importLogger.add(feature);
153154
importer.importFeature(feature).whenComplete((descriptor, e) -> {
154155
if (descriptor != null) {
155-
importLogger.add(feature);
156156
long count = counter.incrementAndGet();
157157
if (count % 1000 == 0) {
158158
logger.info("{} features processed.", count);

0 commit comments

Comments
 (0)