diff options
Diffstat (limited to 'markup/goldmark/convert.go')
-rw-r--r-- | markup/goldmark/convert.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/markup/goldmark/convert.go b/markup/goldmark/convert.go index cb9b24ff8..167286831 100644 --- a/markup/goldmark/convert.go +++ b/markup/goldmark/convert.go @@ -18,6 +18,7 @@ import ( "bytes" "fmt" "path/filepath" + "runtime/debug" "github.com/pkg/errors" @@ -158,8 +159,8 @@ func (c *goldmarkConverter) Convert(ctx converter.RenderContext) (result convert name := fmt.Sprintf("goldmark_%s.txt", c.ctx.DocumentID) filename := filepath.Join(dir, name) afero.WriteFile(hugofs.Os, filename, ctx.Src, 07555) + fmt.Print(string(debug.Stack())) err = errors.Errorf("[BUG] goldmark: %s: create an issue on GitHub attaching the file in: %s", r, filename) - } }() |