Sonar Fix: JsonSelect.java 26/91726/1
authorArundathi Patil <arundpil@in.ibm.com>
Fri, 19 Jul 2019 09:15:40 +0000 (14:45 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Fri, 19 Jul 2019 09:15:54 +0000 (14:45 +0530)
Fixed sonar issues in this file

Issue-ID: MUSIC-426
Change-Id: I3080f15e2ba3909db21c5c529a0ed2b58ceeff41
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
src/main/java/org/onap/music/datastore/jsonobjects/JsonSelect.java

index 4d4ab2a..e354b4b 100644 (file)
@@ -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();
     }