Coverity issues fixed
[ric-plt/submgr.git] / pkg / control / e2if_state.go
index 876dfc4..b86ef81 100644 (file)
@@ -57,7 +57,10 @@ func (e *E2IfState) Init(c *Control) {
        e.control = c
        e.NbIdMap = make(map[string]string, 0)
        e.ReadE2ConfigurationFromRnib()
-       e.SubscribeChannels()
+       err := e.SubscribeChannels()
+       if err != nil {
+               xapp.Logger.Error("Init(): SubscribeChannels() failed: %v", err)
+       }
 }
 
 func (e *E2IfState) GetE2NodesJson() []byte {