Register PCEP session to stats handler only after it is fully initialized
[bgpcep.git] / pcep / topology / topology-stats / src / main / java / org / opendaylight / bgpcep / pcep / topology / stats / provider / TopologyStatsProviderImpl.java
index 6aaac4560ee53b974cbbb6149cd1457e638144fa..6f87680839e61959ed492224b0c8f5e8be047526 100644 (file)
@@ -100,7 +100,7 @@ public final class TopologyStatsProviderImpl implements TransactionChainListener
                 }
             }, MoreExecutors.directExecutor());
         } catch (final Exception e) {
-            LOG.warn("Failed to prepare Tx for BGP stats update", e);
+            LOG.warn("Failed to prepare Tx for PCEP stats update", e);
             tx.cancel();
         }
     }