summaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src/main/java/org
diff options
context:
space:
mode:
authorRam Koya <rk541m@att.com>2018-09-25 13:20:07 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-25 13:20:07 +0000
commit02848499606b831885d8b77c2431dcb02d23cb0a (patch)
treece15a951ef19a357d3ef19a3286ff9449856fc15 /datarouter-prov/src/main/java/org
parentf721e75a8de17c491d36308dd78d24ef51de236e (diff)
parent82fc9e3ffd493f14ab529a7fa074285aa293202b (diff)
Merge "Fix LatencyReport vulnerabilities"
Diffstat (limited to 'datarouter-prov/src/main/java/org')
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/LatencyReport.java2
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");
}