summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-07-19 14:45:40 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-07-19 14:45:54 +0530
commitd914d69eaac5290de60bb96826b28732cbc7510a (patch)
treeba1854ed5c06ee8d18780297bc28c4367918d103
parentb360bab7259e7bdba6b1169b56243bda1127bbf0 (diff)
Sonar Fix: JsonSelect.java
Fixed sonar issues in this file Issue-ID: MUSIC-426 Change-Id: I3080f15e2ba3909db21c5c529a0ed2b58ceeff41 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r--src/main/java/org/onap/music/datastore/jsonobjects/JsonSelect.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/music/datastore/jsonobjects/JsonSelect.java b/src/main/java/org/onap/music/datastore/jsonobjects/JsonSelect.java
index 4d4ab2ac..e354b4b0 100644
--- a/src/main/java/org/onap/music/datastore/jsonobjects/JsonSelect.java
+++ b/src/main/java/org/onap/music/datastore/jsonobjects/JsonSelect.java
@@ -88,7 +88,7 @@ public class JsonSelect implements Serializable {
out = new ObjectOutputStream(bos);
out.writeObject(this);
} catch (IOException e) {
- logger.error("IOException occured {}",e.getMessage());
+ logger.error(EELFLoggerDelegate.errorLogger, e.getMessage(), e);
}
return bos.toByteArray();
}