diff --git a/internal/checker/checker.go b/internal/checker/checker.go index 6f8c8cdc2..2cb0f1e36 100644 --- a/internal/checker/checker.go +++ b/internal/checker/checker.go @@ -229,18 +229,10 @@ func (c *Checker) Packs(ctx context.Context, errChan chan<- error) { // Error is an error that occurred while checking a repository. type Error struct { TreeID restic.ID - BlobID restic.ID Err error } func (e Error) Error() string { - if !e.BlobID.IsNull() && !e.TreeID.IsNull() { - msg := "tree " + e.TreeID.Str() - msg += ", blob " + e.BlobID.Str() - msg += ": " + e.Err.Error() - return msg - } - if !e.TreeID.IsNull() { return "tree " + e.TreeID.String() + ": " + e.Err.Error() }