summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common
diff options
context:
space:
mode:
authorShubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>2018-08-17 15:03:42 +0530
committerShubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>2018-08-17 15:03:42 +0530
commitb68ba6018be7b97bca32c76a76c92b5d896c8a5e (patch)
tree06b00681bcdf0e353c96ae68b57f544a724b5d9e /ecomp-portal-BE-common
parentc7684e595461b70b09d0d9ff15b5ad23aeabebc9 (diff)
Sonar Critical
Either log or rethrow this exception. Change-Id: I66dbc884fc72aa9b8c3faeaccaffc99e373858ec Issue-ID: PORTAL-361 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
Diffstat (limited to 'ecomp-portal-BE-common')
-rw-r--r--ecomp-portal-BE-common/src/main/java/org/onap/portalapp/music/util/MusicUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/music/util/MusicUtil.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/music/util/MusicUtil.java
index 308528d5..9667bfef 100644
--- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/music/util/MusicUtil.java
+++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/music/util/MusicUtil.java
@@ -115,7 +115,8 @@ public class MusicUtil {
oos.flush();
}
} catch (IOException e) {
- logger.error(EELFLoggerDelegate.errorLogger, "Failed to serialize ");
+ String message="Failed to serialize ";
+ logger.error(EELFLoggerDelegate.errorLogger, message, e);
}
return ByteBuffer.wrap(bo.toByteArray());
}