Skip to content

Commit

Permalink
Log error in LoadIacDir before continuing (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlk authored Mar 16, 2021
1 parent b6732c7 commit d1a198c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/iac-providers/kubernetes/v1/load-dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func (k *K8sV1) LoadIacDir(absRootDir string) (output.AllResourceConfigs, error)

var configData output.AllResourceConfigs
if configData, err = k.LoadIacFile(file); err != nil {
zap.S().Debug("error while loading iac files", zap.String("IAC file", file), zap.Error(err))
continue
}

Expand Down

0 comments on commit d1a198c

Please sign in to comment.