diff --git a/weed/filer/ydb/ydb_store.go b/weed/filer/ydb/ydb_store.go index dca6f0bb3..d180bb8be 100644 --- a/weed/filer/ydb/ydb_store.go +++ b/weed/filer/ydb/ydb_store.go @@ -315,7 +315,7 @@ func (store *YdbStore) ListDirectoryPrefixedEntries(ctx context.Context, dirPath resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(entry) if resEachEntryFuncErr != nil { - return fmt.Errorf("failed to process eachEntryFunc: %w", resEachEntryFuncErr) +return fmt.Errorf("failed to process eachEntryFunc for entry %q: %w", entry.FullPath, resEachEntryFuncErr) } if !resEachEntryFunc {