little-cui commented on a change in pull request #248: optimize quota check log
URL:
https://github.com/apache/incubator-servicecomb-service-center/pull/248#discussion_r161351790
##########
File path: server/service/microservices.go
##########
@@ -528,7 +523,7 @@ func (s *MicroServiceService) UpdateProperties(ctx
context.Context, in *pb.Updat
if err != nil {
util.Logger().Errorf(err, "update service properties failed,
serviceId is %s: json marshal service failed.", in.ServiceId)
return &pb.UpdateServicePropsResponse{
- Response: pb.CreateResponse(scerr.ErrInternal, "Service
file marshal error."),
+ Response: pb.CreateResponse(scerr.ErrInternal, "service
file marshal error."),
Review comment:
Use err.Error() instead of this.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services