diff --git a/weed/filer/elastic/v7/elastic_store.go b/weed/filer/elastic/v7/elastic_store.go index c7c510205..c212b239b 100644 --- a/weed/filer/elastic/v7/elastic_store.go +++ b/weed/filer/elastic/v7/elastic_store.go @@ -262,7 +262,7 @@ func (store *ElasticStore) listDirectoryEntries( resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(esEntry.Entry) if resEachEntryFuncErr != nil { glog.ErrorfCtx(ctx, "failed to process eachEntryFunc for entry %q: %v", fileName, resEachEntryFuncErr) - return lastFileName, fmt.Errorf("failed to process eachEntryFunc: %w", resEachEntryFuncErr) +return lastFileName, fmt.Errorf("failed to process eachEntryFunc for entry %q: %w", fileName, resEachEntryFuncErr) } if !resEachEntryFunc {