tweak debug logs

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

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())