From e8c858b545f0246fa346ab7d43ff38d90f5fa24b Mon Sep 17 00:00:00 2001 From: Xiangyu Wang Date: Thu, 4 Nov 2021 13:36:35 +0800 Subject: [PATCH] Improve error message in util (#11137) Signed-off-by: Xiangyu Wang --- internal/util/rocksmq/client/rocksmq/test_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/rocksmq/client/rocksmq/test_helper.go b/internal/util/rocksmq/client/rocksmq/test_helper.go index 55be0f7317..d5bd434338 100644 --- a/internal/util/rocksmq/client/rocksmq/test_helper.go +++ b/internal/util/rocksmq/client/rocksmq/test_helper.go @@ -78,6 +78,6 @@ func removePath(rmqPath string) { metaPath := rmqPath + "_meta_kv" err = os.RemoveAll(metaPath) if err != nil { - log.Error("os removeAll failed.", zap.Any("path", kvPath)) + log.Error("Failed to call os.removeAll.", zap.Any("path", kvPath)) } }