From 01cce31f1226d46124d3cdef4cde853edc33c619 Mon Sep 17 00:00:00 2001 From: Roman Tamarov Date: Mon, 17 Nov 2025 15:38:29 +0300 Subject: [PATCH] added entry in messege error --- weed/filer/filerstore_wrapper.go | 2 +- weed/filer/redis3/universal_redis_store.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/weed/filer/filerstore_wrapper.go b/weed/filer/filerstore_wrapper.go index d2a3482c8..8694db984 100644 --- a/weed/filer/filerstore_wrapper.go +++ b/weed/filer/filerstore_wrapper.go @@ -310,7 +310,7 @@ func (fsw *FilerStoreWrapper) prefixFilterEntries(ctx context.Context, dirPath u res, resErr := eachEntryFunc(entry) if resErr != nil { - err = fmt.Errorf("failed to process eachEntryFunc: %w", resErr) + err = fmt.Errorf("failed to process eachEntryFunc for entry %q: %w", entry.Name(), resErr) return } diff --git a/weed/filer/redis3/universal_redis_store.go b/weed/filer/redis3/universal_redis_store.go index e5b4c1da9..de94feea0 100644 --- a/weed/filer/redis3/universal_redis_store.go +++ b/weed/filer/redis3/universal_redis_store.go @@ -167,7 +167,8 @@ func (store *UniversalRedis3Store) ListDirectoryEntries(ctx context.Context, dir resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(entry) if resEachEntryFuncErr != nil { - err = fmt.Errorf("failed to process eachEntryFunc: %w", resEachEntryFuncErr) + glog.V(0).InfofCtx(ctx, "failed to process eachEntryFunc for entry %q: %w", entry.Name(), resEachEntryFuncErr) + return false } if !resEachEntryFunc {