[RICPLT-2787] Complete UTs and Automation....
[ric-plt/e2mgr.git] / E2Manager / controllers / nodeb_controller.go
index 8b8c743..7b8a86f 100644 (file)
@@ -249,10 +249,6 @@ func (c *NodebController) handleErrorResponse(err error, writer http.ResponseWri
        writer.Header().Set("Content-Type", "application/json")
        writer.WriteHeader(httpError)
        _, err = writer.Write(errorResponse)
-
-       if err != nil {
-               c.logger.Errorf("#NodebController.handleErrorResponse - Cannot send response. writer:%v", writer)
-       }
 }
 
 func (c *NodebController) prettifyRequest(request *http.Request) string {