mirror of
https://github.com/restic/restic.git
synced 2025-08-23 04:07:25 +00:00
Improve snapshot filter warning message
Include the root-cause why the snapshot prefix is ignored.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user