From 8336d6fa6f83eeaae10cea628bbd459016fcbd3b Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Thu, 29 Aug 2024 14:57:13 +0300 Subject: [PATCH] Wrap CleanOldDir warning with informative message (#2675) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 72176759f..0f13d25e7 100644 --- a/main.go +++ b/main.go @@ -70,7 +70,7 @@ func main() { log.SetDefaultLogger() err := execMain() if cleanupErr := fileutils.CleanOldDirs(); cleanupErr != nil { - clientlog.Warn(cleanupErr) + clientlog.Warn("failed while attempting to cleanup old CLI temp directories:", cleanupErr) } coreutils.ExitOnErr(err) }