fanhualta commented on a change in pull request #33: Fix sonar problems
URL: https://github.com/apache/incubator-iotdb/pull/33#discussion_r251844511
##########
File path: iotdb-cli/src/main/java/org/apache/iotdb/cli/tool/ImportCsv.java
##########
@@ -264,17 +268,16 @@ private static void loadDataFromCSV(File file, int
index) {
file.getAbsolutePath(), errorFile.getAbsolutePath()));
}
} catch (SQLException e) {
- e.printStackTrace();
+ System.out.println("[ERROR] Sql statement can not be closed ! " +
e.getMessage());
Review comment:
It's better to change these to Logger.error() level.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services