From b2d909883e417f45d35236cfd9e2af54fceb1d4a Mon Sep 17 00:00:00 2001 From: yanghao05 Date: Sat, 29 Mar 2025 18:11:48 +0800 Subject: [PATCH] feat: update --- backend/app/service/commands/compress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/service/commands/compress.go b/backend/app/service/commands/compress.go index 7312365..b98838f 100644 --- a/backend/app/service/commands/compress.go +++ b/backend/app/service/commands/compress.go @@ -118,7 +118,7 @@ func commandCompress(dir string) error { // get the file path if err := doCompress(filePath, dstPath); err != nil { - log.Errorf("failed to compress file: %s", fileName) + log.WithError(err).Errorf("failed to compress file: %s", fileName) continue }