Improve error message in rootcoord (#10875)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
pull/10875/merge
Xiangyu Wang 2021-11-01 16:38:06 +08:00 committed by GitHub
parent 1835a7cb0c
commit 07818ec26a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ func (mt *MetaTable) AddTenant(te *pb.TenantMeta, ts typeutil.Timestamp) error {
k := fmt.Sprintf("%s/%d", TenantMetaPrefix, te.ID)
v, err := proto.Marshal(te)
if err != nil {
log.Error("AddTenant Marshal fail", zap.Error(err))
log.Error("Failed to marshal TenantMeta in AddTenant", zap.Error(err))
return err
}