diff options
author | Ram Koya <rk541m@att.com> | 2018-09-25 13:20:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-25 13:20:07 +0000 |
commit | 02848499606b831885d8b77c2431dcb02d23cb0a (patch) | |
tree | ce15a951ef19a357d3ef19a3286ff9449856fc15 /datarouter-prov/src | |
parent | f721e75a8de17c491d36308dd78d24ef51de236e (diff) | |
parent | 82fc9e3ffd493f14ab529a7fa074285aa293202b (diff) |
Merge "Fix LatencyReport vulnerabilities"
Diffstat (limited to 'datarouter-prov/src')
-rw-r--r-- | datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/LatencyReport.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/LatencyReport.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/LatencyReport.java index 549511b7..f5001409 100644 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/LatencyReport.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/LatencyReport.java @@ -180,7 +180,7 @@ public class LatencyReport extends ReportBase { } catch (FileNotFoundException e) {
System.err.println("File cannot be written: " + outfile);
} catch (SQLException e) {
- e.printStackTrace();
+ logger.error("SQLException: " + e.getMessage());
}
logger.debug("Query time: " + (System.currentTimeMillis() - start) + " ms");
}
|