fix(ecstore): surface prefix listing storage errors (#2940)

This commit is contained in:
weisd
2026-05-13 12:24:54 +08:00
committed by GitHub
parent d72b8cb88e
commit 9b83de53e1
3 changed files with 85 additions and 5 deletions
+1
View File
@@ -1283,6 +1283,7 @@ impl LocalDisk {
Err(e) => {
if e != DiskError::VolumeNotFound && e != Error::FileNotFound {
error!("scan list_dir {}, err {:?}", &current, &e);
return Err(e);
}
if opts.report_notfound && e == Error::FileNotFound && current == opts.base_dir {