mirror of
https://github.com/restic/restic.git
synced 2026-11-14 10:02:46 +00:00
node: report error on xattr retrieval using standard error logging
This commit is contained in:
1 parent
f2b9ea6455
commit
df7924f4df
17 files changed
+30
-29
No files matched your search
@@ -224,7 +224,7 @@ func restoreAndGetNode(t *testing.T, tempDir string, testNode *restic.Node, warn
|
||||
fs := &Local{}
|
||||
meta, err := fs.OpenFile(testPath, O_NOFOLLOW, true)
|
||||
test.OK(t, err)
|
||||
nodeFromFileInfo, err := meta.ToNode(false)
|
||||
nodeFromFileInfo, err := meta.ToNode(false, t.Logf)
|
||||
test.OK(t, errors.Wrapf(err, "Could not get NodeFromFileInfo for path: %s", testPath))
|
||||
test.OK(t, meta.Close())
|
||||
|
||||
|
||||
Reference in new issue
Block a user