mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 21:51:13 +00:00
hugolib: Use double quotes instead of back quotes
so that '\n' is interpreted in the timeout warning.
This commit is contained in:
parent
2fb9af59c1
commit
b2b500f563
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ func (p *Page) initContent() {
|
|||
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
p.s.Log.WARN.Printf(`WARNING: Timed out creating content for page %q (.Content will be empty). This is most likely a circular shortcode content loop that should be fixed. If this is just a shortcode calling a slow remote service, try to set "timeout=20000" (or higher, value is in milliseconds) in config.toml.\n`, p.pathOrTitle())
|
||||
p.s.Log.WARN.Printf("WARNING: Timed out creating content for page %q (.Content will be empty). This is most likely a circular shortcode content loop that should be fixed. If this is just a shortcode calling a slow remote service, try to set \"timeout=20000\" (or higher, value is in milliseconds) in config.toml.\n", p.pathOrTitle())
|
||||
case err := <-c:
|
||||
if err != nil {
|
||||
p.s.Log.ERROR.Println(err)
|
||||
|
|
Loading…
Reference in a new issue