You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/03/02 12:31:06 UTC

[GitHub] [servicecomb-service-center] tianxiaoliang commented on a change in pull request #877: [SCB-2094] Bugfix-the printing information of relevant logs is not clear

tianxiaoliang commented on a change in pull request #877:
URL: https://github.com/apache/servicecomb-service-center/pull/877#discussion_r585523739



##########
File path: datasource/mongo/ms.go
##########
@@ -1634,7 +1638,7 @@ func (ds *DataSource) GetInstance(ctx context.Context, request *discovery.GetOne
 	serviceIDs = filterServiceIDs(ctx, request.ConsumerServiceId, request.Tags, services)
 	if len(serviceIDs) == 0 {
 		mes := fmt.Errorf("%s failed, provider instance does not exist", findFlag())
-		log.Error("get instance failed", err)
+		log.Error("get instance failed", ErrNotFindService)

Review comment:
       please print out service name,version,env and app




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org