summaryrefslogtreecommitdiffstats
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rw-r--r--helpers/pygments.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/pygments.go b/helpers/pygments.go
index 0fe1e7592..4d7631ced 100644
--- a/helpers/pygments.go
+++ b/helpers/pygments.go
@@ -82,7 +82,7 @@ func (h highlighters) chromaHighlight(code, lang, optsStr string) (string, error
err = chromaHighlight(b, code, lang, style, f)
if err != nil {
- jww.ERROR.Print(err.Error())
+ jww.ERROR.Printf("Highlight failed: %s\nLang: %q\nCode: \n%s", err, lang, code)
return code, err
}