[ 
https://issues.apache.org/jira/browse/SCB-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16561462#comment-16561462
 ] 

ASF GitHub Bot commented on SCB-776:
------------------------------------

little-cui commented on a change in pull request #401: SCB-776 Log print more 
detailed
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/401#discussion_r206023762
 
 

 ##########
 File path: server/service/instance.go
 ##########
 @@ -89,43 +89,47 @@ func (s *InstanceService) Register(ctx context.Context, in 
*pb.RegisterInstanceR
        remoteIP := util.GetIPFromContext(ctx)
 
        if err := Validate(in); err != nil {
-               util.Logger().Errorf(err, "register instance failed, invalid 
parameters, operator %s.", remoteIP)
+               util.Logger().Errorf(err, "register instance failed, invalid 
parameters, operator %s", remoteIP)
 
 Review comment:
   the err object will print the details

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Log print more detailed
> -----------------------
>
>                 Key: SCB-776
>                 URL: https://issues.apache.org/jira/browse/SCB-776
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Service-Center
>            Reporter: little-cui
>            Assignee: little-cui
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to