diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-09-03 15:54:13 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2018-09-03 15:54:25 +0530 |
commit | 6f450be557a7c25d9aff9c849bc5f64b1457c9ca (patch) | |
tree | 4fe1d4bc35fa85b8761283e514ac53d95ed8cfde | |
parent | 60a215503f38974c409c963d3f3a8154be01bdd5 (diff) |
ProtocolSupport.java: fixed sonar issue
Fixed sonar code-smella/issues accross this file
Issue-ID: MUSIC-124
Change-Id: Iebfaae30d941761ffbe59920cf6301cf22daae44
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r-- | src/main/java/org/onap/music/lockingservice/ProtocolSupport.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/onap/music/lockingservice/ProtocolSupport.java b/src/main/java/org/onap/music/lockingservice/ProtocolSupport.java index 4082b3b8..19f49beb 100644 --- a/src/main/java/org/onap/music/lockingservice/ProtocolSupport.java +++ b/src/main/java/org/onap/music/lockingservice/ProtocolSupport.java @@ -174,8 +174,10 @@ class ProtocolSupport { } }); } catch (KeeperException e) { + logger.error("Error", e); logger.error(EELFLoggerDelegate.errorLogger, e.getMessage(),AppMessages.KEEPERERROR, ErrorSeverity.ERROR, ErrorTypes.LOCKINGERROR); } catch (InterruptedException e) { + logger.error("Error", e); logger.error(EELFLoggerDelegate.errorLogger, e.getMessage(),AppMessages.EXECUTIONINTERRUPTED, ErrorSeverity.ERROR, ErrorTypes.LOCKINGERROR); } } |