mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-01 14:37:28 -04:00
Be more specific about where we failed
This commit is contained in:
@@ -63,7 +63,7 @@ func NewTermRendererFromBytes(b []byte, options ansi.Options) (*TermRenderer, er
|
||||
err := json.Unmarshal(b, &options.Styles)
|
||||
if err != nil {
|
||||
// FIXME: wrap error once we depend on Go 1.13
|
||||
return nil, fmt.Errorf("loading style: %v", err)
|
||||
return nil, fmt.Errorf("parsing style: %v", err)
|
||||
}
|
||||
|
||||
md := goldmark.New(
|
||||
|
||||
Reference in New Issue
Block a user