Bel LaPointe 2022-01-04 12:33:39 -05:00
parent fa812a16ee
commit 0241f2d76c
1 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,10 @@ func verifyRoot(root pttodo.Root) error {
}
func verifyFile(path string) error {
return dump(true, io.Discard, path, nil, "", DUMP_ALL)
if err := dump(true, io.Discard, path, nil, "", DUMP_ALL); err != nil {
return fmt.Errorf("failed verifying file %s: %w", path, err)
}
return nil
}
func edit(dry bool, filepath string) error {