Browse Source

more info in error

pull/7485/head
chrislu 2 weeks ago
parent
commit
19d1371880
  1. 5
      weed/filer/redis3/universal_redis_store.go

5
weed/filer/redis3/universal_redis_store.go

@ -185,7 +185,10 @@ func (store *UniversalRedis3Store) ListDirectoryEntries(ctx context.Context, dir
})
if callbackErr != nil {
return lastFileName, fmt.Errorf("failed to process eachEntryFunc: %w", callbackErr)
return lastFileName, fmt.Errorf(
"failed to process eachEntryFunc for dir %q, entry %q: %w",
dirPath, lastFileName, callbackErr,
)
}
return lastFileName, err

Loading…
Cancel
Save