node: report error on xattr retrieval using standard error logging

This commit is contained in:
Michael Eischer committed 2025-10-03 18:55:46 +02:00
1 parent f2b9ea6455
commit df7924f4df
17 files changed
+30 -29

No files matched your search

+1 -1
View File
@@ -267,7 +267,7 @@ func (f fakeFile) Stat() (*ExtendedFileInfo, error) {
return f.fi, nil
}
func (f fakeFile) ToNode(_ bool) (*restic.Node, error) {
func (f fakeFile) ToNode(_ bool, _ func(format string, args ...any)) (*restic.Node, error) {
node := buildBasicNode(f.name, f.fi)
// fill minimal info with current values for uid, gid