Downgrade Error: message after evert mutator to Debug

This seems redundant - nothing is lost.
This commit is contained in:
Denis Bilenko 2025-01-27 09:52:51 +01:00
parent c8cdc1135a
commit 86c29d4183
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ func Apply(ctx context.Context, b *Bundle, m Mutator) diag.Diagnostics {
// such that they are not logged multiple times.
// If this is done, we can omit this block.
if err := diags.Error(); err != nil {
log.Errorf(ctx, "Error: %s", err)
log.Debugf(ctx, "Error: %s", err)
}
return diags

View File

@ -22,7 +22,7 @@ func ApplyReadOnly(ctx context.Context, rb ReadOnlyBundle, m ReadOnlyMutator) di
log.Debugf(ctx, "ApplyReadOnly")
diags := m.Apply(ctx, rb)
if err := diags.Error(); err != nil {
log.Errorf(ctx, "Error: %s", err)
log.Debugf(ctx, "Error: %s", err)
}
return diags