Fixed sonar issues in this file
Issue-ID: MUSIC-426
Change-Id: I3080f15e2ba3909db21c5c529a0ed2b58ceeff41
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
out = new ObjectOutputStream(bos);
out.writeObject(this);
} catch (IOException e) {
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();
}
}
return bos.toByteArray();
}