[RICPLT-1703] - Reset Request - after acceptance
[ric-plt/e2mgr.git] / E2Manager / rmrCgo / rmrCgoApi.go
index 2de57d9..9b242c4 100644 (file)
@@ -58,7 +58,6 @@ func (ctx *Context) SendMsg(msg *MBuf, maxMsgSize int) (*MBuf, error) {
        state := allocatedCMBuf.state
        if state != RMR_OK {
                errorMessage := fmt.Sprintf("#rmrCgoApi.SendMsg - Failed to get allocated message. state: %v - %s", state, states[int(state)])
-               ctx.Logger.Errorf(errorMessage)
                return nil, errors.New(errorMessage)
        }
 
@@ -73,7 +72,6 @@ func (ctx *Context) SendMsg(msg *MBuf, maxMsgSize int) (*MBuf, error) {
 
        if state != RMR_OK {
                errorMessage := fmt.Sprintf("#rmrCgoApi.SendMsg - Failed to send message. state: %v - %s", state, states[int(state)])
-               ctx.Logger.Errorf(errorMessage)
                return nil, errors.New(errorMessage)
        }