summaryrefslogtreecommitdiffstats
path: root/routing/routing-impl/src/main/java/io/fd
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-05-16 08:01:07 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-05-16 08:01:11 +0200
commit8a2f8ea9b8ccff205ee28c0045ca19f9771bfe95 (patch)
tree457e71303b2fc276d4aee3eb6c86caa50f33db7e /routing/routing-impl/src/main/java/io/fd
parent91c19daebce1ca6dbcb0c6852e7daafdccbb172a (diff)
routing: log FibTableDoesNotExistException in ControlPlaneProtocolCustomizer
Fixes issue reported by Sonar. Change-Id: Ibbf5f39358e551a9de9a9602050184aba3c02e92 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'routing/routing-impl/src/main/java/io/fd')
-rw-r--r--routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/ControlPlaneProtocolCustomizer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/ControlPlaneProtocolCustomizer.java b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/ControlPlaneProtocolCustomizer.java
index c0d5d083b..326b6f873 100644
--- a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/ControlPlaneProtocolCustomizer.java
+++ b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/ControlPlaneProtocolCustomizer.java
@@ -76,8 +76,8 @@ final class ControlPlaneProtocolCustomizer
instanceIdentifier);
throw new WriteFailedException(instanceIdentifier, e);
} catch (FibTableService.FibTableDoesNotExistException e) {
- LOG.trace("VRF Fib table does not exist. creating new entry for Fib table.");
- //Write IPv4 and IPv6 Fib table for this VRF
+ LOG.trace("VRF Fib table does not exist. creating new entry for Fib table.", e);
+ // Write IPv4 and IPv6 Fib table for this VRF
fibTableService.write(instanceIdentifier, tableId, "Vrf-IPv4-" + tableId, false);
fibTableService.write(instanceIdentifier, tableId, "Vrf-IPv6-" + tableId, true);
}