Add some error checking to prevent obscure failures.

This commit is contained in:
Brendan Burns
2015-02-10 06:32:26 -08:00
parent e27d534b87
commit e7b11d09de
4 changed files with 4 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ Examples:
FilenameParam(flags.Filenames...).
Flatten().
Do()
checkErr(r.Err())
count := 0
err = r.Visit(func(info *resource.Info) error {