common/loggers: Remove the ANSI color for the browser error version

This commit is contained in:
Bjørn Erik Pedersen 2018-10-24 17:22:07 +02:00
parent acc14b4646
commit 93aa6261b4
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
2 changed files with 12 additions and 5 deletions

View file

@ -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)