AlexStocks commented on a change in pull request #1315:
URL: https://github.com/apache/dubbo-go/pull/1315#discussion_r675988762



##########
File path: common/rpc_service.go
##########
@@ -366,7 +366,7 @@ func suiteMethod(method reflect.Method) *MethodType {
 
        // The latest return type of the method must be error.
        if returnType := mtype.Out(outNum - 1); returnType != typeOfError {
-               logger.Warnf("the latest return type %s of method %q is not 
error", returnType, mname)
+               logger.Debugf(`"%s" method will not be exported because the 
return type not includes error`, mname, returnType)

Review comment:
       "%s" method will not be exported because its return type %v do not have 
error




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to