mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 14:40:43 +03:00
common/loggers: Remove the ANSI color for the browser error version
This commit is contained in:
parent
acc14b4646
commit
93aa6261b4
2 changed files with 12 additions and 5 deletions
|
@ -104,7 +104,7 @@ func (c *commandeer) getErrorWithContext() interface{} {
|
|||
|
||||
m := make(map[string]interface{})
|
||||
|
||||
m["Error"] = errors.New(removeErrorPrefixFromLog(c.logger.Errors.String()))
|
||||
m["Error"] = errors.New(removeErrorPrefixFromLog(c.logger.Errors()))
|
||||
m["Version"] = hugoVersionString()
|
||||
|
||||
fe := herrors.UnwrapErrorWithFileContext(c.buildErr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue