Removed some sonar warnings.
[bgpcep.git] / pcep / tunnel-provider / src / main / java / org / opendaylight / bgpcep / pcep / tunnel / provider / TunnelProgramming.java
index ede798d7207f4f608597d089c4ebdf2ca1cb1df7..fb1865dc57716896cd329598f47abd385f7e070b 100644 (file)
@@ -315,7 +315,7 @@ public final class TunnelProgramming implements TopologyTunnelPcepProgrammingSer
                         // The source node has to exist
                         node = sourceNode(t, tii, link).get();
                     } catch (IllegalStateException | ReadFailedException e) {
-                        LOG.debug("Link or node does not exist.", e.getMessage());
+                        LOG.debug("Link or node does not exist.", e);
                         return Futures.<OperationResult>immediateFuture(new OperationResult() {
                             @Override
                             public Class<? extends DataContainer> getImplementedInterface() {
@@ -375,7 +375,7 @@ public final class TunnelProgramming implements TopologyTunnelPcepProgrammingSer
                         // The source node has to exist
                         node = sourceNode(t, tii, link).get();
                     } catch (IllegalStateException | ReadFailedException e) {
-                        LOG.debug("Link or node does not exist.", e.getMessage());
+                        LOG.debug("Link or node does not exist.", e);
                         return Futures.<OperationResult>immediateFuture(new OperationResult() {
                             @Override
                             public Class<? extends DataContainer> getImplementedInterface() {