Improve snapshot filter warning message

Include the root-cause why the snapshot prefix is ignored.
This commit is contained in:
Juergen Hoetzel 2021-08-25 15:46:21 +02:00
parent 10b39d7591
commit 409e4936af
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func FindFilteredSnapshots(ctx context.Context, repo *repository.Repository, hos
} else {
id, err = restic.FindSnapshot(ctx, repo, s)
if err != nil {
Warnf("Ignoring %q, it is not a snapshot id\n", s)
Warnf("Ignoring %q: %v\n", s, err)
continue
}
}