From 07818ec26a9a03c2bae7ed564bc82479b4ab40fb Mon Sep 17 00:00:00 2001 From: Xiangyu Wang Date: Mon, 1 Nov 2021 16:38:06 +0800 Subject: [PATCH] Improve error message in rootcoord (#10875) Signed-off-by: Xiangyu Wang --- internal/rootcoord/meta_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rootcoord/meta_table.go b/internal/rootcoord/meta_table.go index b12a1d9e5f..4513dedd35 100644 --- a/internal/rootcoord/meta_table.go +++ b/internal/rootcoord/meta_table.go @@ -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 }