Skip to content

Commit

Permalink
fixed #44
Browse files Browse the repository at this point in the history
  • Loading branch information
lmittmann committed Oct 3, 2023
1 parent 4da41f0 commit bc0eefd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ func (h *handler) appendValue(buf *buffer, v slog.Value, quote bool) {
}
}

func (h *handler) appendTintError(buf *buffer, err error, groups string) {
func (h *handler) appendTintError(buf *buffer, err error, groupsPrefix string) {
buf.WriteStringIf(!h.noColor, ansiBrightRedFaint)
appendString(buf, h.groupPrefix+groups+errKey, true)
appendString(buf, groupsPrefix+errKey, true)
buf.WriteByte('=')
buf.WriteStringIf(!h.noColor, ansiResetFaint)
appendString(buf, err.Error(), true)
Expand Down

0 comments on commit bc0eefd

Please sign in to comment.