We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bf0117 commit 5b7704dCopy full SHA for 5b7704d
pkg/iac/rego/load.go
@@ -165,15 +165,15 @@ func (s *Scanner) fallbackChecks(compiler *ast.Compiler) {
165
continue
166
}
167
168
- s.logger.Error(
169
- "Error occurred while parsing. Trying to fallback to embedded check",
+ s.logger.Debug(
+ "Unable to parse check. This can be due to lack of support in this version. Trying to fallback to embedded check",
170
log.FilePath(loc),
171
log.Err(e),
172
)
173
174
embedded := s.findMatchedEmbeddedCheck(badPolicy)
175
if embedded == nil {
176
- s.logger.Error("Failed to find embedded check, skipping", log.FilePath(loc))
+ s.logger.Debug("Failed to find embedded check, skipping", log.FilePath(loc))
177
178
179
0 commit comments