Add more error checks

This commit is contained in:
Alexander Neumann
2021-01-30 20:02:37 +01:00
parent cbd88c457a
commit 200f09522d
11 changed files with 63 additions and 24 deletions
+4 -1
View File
@@ -243,7 +243,10 @@ func PrintSnapshots(stdout io.Writer, list restic.Snapshots, reasons []restic.Ke
}
}
tab.Write(stdout)
err := tab.Write(stdout)
if err != nil {
Warnf("error printing: %v\n", err)
}
}
// PrintSnapshotGroupHeader prints which group of the group-by option the