mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-13 09:32:24 -06:00
core: demote early exit log from ERROR -> DEBUG
This commit is contained in:
parent
8472c7d59f
commit
6af79168db
@ -52,7 +52,11 @@ func EvalRaw(n EvalNode, ctx EvalContext) (interface{}, error) {
|
|||||||
log.Printf("[DEBUG] %s: eval: %T", path, n)
|
log.Printf("[DEBUG] %s: eval: %T", path, n)
|
||||||
output, err := n.Eval(ctx)
|
output, err := n.Eval(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("[ERROR] %s: eval: %T, err: %s", path, n, err)
|
if _, ok := err.(EvalEarlyExitError); ok {
|
||||||
|
log.Printf("[DEBUG] %s: eval: %T, err: %s", path, n, err)
|
||||||
|
} else {
|
||||||
|
log.Printf("[ERROR] %s: eval: %T, err: %s", path, n, err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return output, err
|
return output, err
|
||||||
|
Loading…
Reference in New Issue
Block a user