Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/markup
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-11-25 14:49:04 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-11-25 20:59:06 +0300
commitd6f7a9e28dfd5abff08b6aaf6fb3493c46bd1e39 (patch)
treef5715b86cff28eb5c7ab7320c30a492806441cae /markup
parent031f948f87ac97ca49d0a487a392a8a0c6afb699 (diff)
resources/images: Make the image cache more robust
Also allow timeout to be set as a duration string, e.g. `30s`. Fixes #6501
Diffstat (limited to 'markup')
-rw-r--r--markup/goldmark/convert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/goldmark/convert.go b/markup/goldmark/convert.go
index 9ce0b0b56..cb9b24ff8 100644
--- a/markup/goldmark/convert.go
+++ b/markup/goldmark/convert.go
@@ -158,7 +158,7 @@ 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)
- err = errors.Errorf("[BUG] goldmark: create an issue on GitHub attaching the file in: %s", filename)
+ err = errors.Errorf("[BUG] goldmark: %s: create an issue on GitHub attaching the file in: %s", r, filename)
}
}()