Skip to content

Commit

Permalink
Merge pull request #3623 from ActiveState/mitchell/dx-3179
Browse files Browse the repository at this point in the history
Warn when writing colored output fails.
  • Loading branch information
mitchell-as authored Dec 27, 2024
2 parents 0eac6e3 + 058c68c commit 1315735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/output/plain.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (f *Plain) writeNow(writer io.Writer, value string) {
}
_, err := colorize.Colorize(value, writer, !f.cfg.Colored)
if err != nil {
logging.ErrorNoStacktrace("Writing colored output failed: %v", err)
logging.Warning("Writing colored output failed: %v", err)
}
}

Expand Down

0 comments on commit 1315735

Please sign in to comment.