diff --git a/weed/filer/foundationdb/foundationdb_store.go b/weed/filer/foundationdb/foundationdb_store.go index 3e18e5b23..dea725464 100644 --- a/weed/filer/foundationdb/foundationdb_store.go +++ b/weed/filer/foundationdb/foundationdb_store.go @@ -477,7 +477,7 @@ func (store *FoundationDBStore) ListDirectoryPrefixedEntries(ctx context.Context resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(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 { break