handle errors

This commit is contained in:
Nathan LaFreniere 2015-11-13 15:59:34 -08:00
parent ca7a275625
commit 927b3c3434
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@ func NewClient(vargs PluginArgs) AWS {
}
func (aws *AWS) visit(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if path == "." {
return nil
}