From dbbd8c3dd95cb4d3252e7d8ad4e948a6c5647e07 Mon Sep 17 00:00:00 2001 From: Future-Outlier Date: Fri, 8 Nov 2024 13:35:03 +0800 Subject: [PATCH] err msg enhancement Signed-off-by: Future-Outlier --- flytecopilot/data/download.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flytecopilot/data/download.go b/flytecopilot/data/download.go index 38fab6dfb2..e4efa22222 100644 --- a/flytecopilot/data/download.go +++ b/flytecopilot/data/download.go @@ -96,7 +96,7 @@ func (d Downloader) handleBlob(ctx context.Context, blob *core.Blob, toPath stri defer wg.Done() defer func() { if err := recover(); err != nil { - logger.Errorf(ctx, "recover receives error: %s", err) + logger.Errorf(ctx, "recover receives error: [%s]", err) } }()