From a3359e2abd63adaa40252517980380d6a1e1b583 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 21 Jun 2025 12:37:47 -0700 Subject: [PATCH 1/2] Fix log fmt --- services/lfs/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/lfs/server.go b/services/lfs/server.go index 59c9884fa85ea..0a704b91a9b19 100644 --- a/services/lfs/server.go +++ b/services/lfs/server.go @@ -203,7 +203,7 @@ func BatchHandler(ctx *context.Context) { exists, err := contentStore.Exists(p) if err != nil { - log.Error("Unable to check if LFS OID[%s] exist. Error: %v", p.Oid, rc.User, rc.Repo, err) + log.Error("Unable to check if LFS OID[%s]for %s/%s exist. Error: %v", p.Oid, rc.User, rc.Repo, err) writeStatus(ctx, http.StatusInternalServerError) return } From 4c5e653d93cd43fe8034352d2ec19207904917b5 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 22 Jun 2025 23:16:18 +0800 Subject: [PATCH 2/2] Update server.go Co-authored-by: delvh Signed-off-by: Lunny Xiao --- services/lfs/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/lfs/server.go b/services/lfs/server.go index 0a704b91a9b19..15a51ad534093 100644 --- a/services/lfs/server.go +++ b/services/lfs/server.go @@ -203,7 +203,7 @@ func BatchHandler(ctx *context.Context) { exists, err := contentStore.Exists(p) if err != nil { - log.Error("Unable to check if LFS OID[%s]for %s/%s exist. Error: %v", p.Oid, rc.User, rc.Repo, err) + log.Error("Unable to check if LFS object with ID '%s' exists for %s/%s. Error: %v", p.Oid, rc.User, rc.Repo, err) writeStatus(ctx, http.StatusInternalServerError) return }