tweak debug logs

This commit is contained in:
Michael Eischer committed 2023-04-23 11:38:06 +02:00
1 parent 22562d2132
commit cdb0fb9c06
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ func FilterTree(ctx context.Context, repo BlobLoadSaver, nodepath string, nodeID
return restic.ID{}, err
}
if nodeID != testID {
return restic.ID{}, fmt.Errorf("cannot encode tree at %q without loosing information", nodepath)
return restic.ID{}, fmt.Errorf("cannot encode tree at %q without losing information", nodepath)
}
debug.Log("filterTree: %s, nodeId: %s\n", nodepath, nodeID.Str())