Policy exclusions & parallel netconf transactions
[groupbasedpolicy.git] / domain-extensions / l2-l3 / src / main / java / org / opendaylight / controller / config / yang / config / domain_extension / l2_l3 / impl / L2L3DomainExtensionInstance.java
index 51d7c4c971ea16fb031349d76f8755b4ccc95d9c..8e410759846ea3c48101c248ebdb05229ac72d2d 100644 (file)
@@ -40,7 +40,12 @@ public class L2L3DomainExtensionInstance implements ClusterSingletonService, Aut
 
     public void initialize() {
         LOG.info("Clustering session initiated for {}", this.getClass().getSimpleName());
-        singletonServiceRegistration = clusterSingletonService.registerClusterSingletonService(this);
+        try {
+            singletonServiceRegistration = clusterSingletonService.registerClusterSingletonService(this);
+        }
+        catch (Exception e) {
+            LOG.warn("Exception while registering candidate ... ", e);
+        }
     }
 
     @Override