Skip to content

Commit 979ab7c

Browse files
committed
fix ci issue
1 parent c875113 commit 979ab7c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

data-loader/cli/src/main/java/com/scalar/db/dataloader/cli/command/dataexport/ConsoleExportProgressReporter.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ public static void reportError(String message, Throwable throwable) {
6262
}
6363
}
6464

65+
/**
66+
* Prints a formatted waring message to the console.
67+
*
68+
* @param message the error description
69+
*/
70+
public static void reportWarning(String message) {
71+
System.err.println("%n!! Warning: " + message);
72+
}
73+
6574
/**
6675
* Formats elapsed time in "Xm Ys" format.
6776
*

data-loader/cli/src/main/java/com/scalar/db/dataloader/cli/command/dataexport/ExportCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ private void warnAboutIgnoredDeprecatedOptions() {
157157
+ "Use the 'scalar.db.consensus_commit.include_metadata.enabled' configuration property "
158158
+ "in your ScalarDB properties file to control whether transaction metadata is included in scan operations.|@");
159159

160-
logger.warn(warning);
160+
// logger.warn(warning);
161+
ConsoleExportProgressReporter.reportWarning(warning);
161162
}
162163
}
163164

0 commit comments

Comments
 (0)