diff options
author | Bjørn Erik Pedersen <[email protected]> | 2020-10-21 11:17:48 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-10-22 09:09:29 +0200 |
commit | fdfa4a5fe62232f65f1dd8d6fe0c500374228788 (patch) | |
tree | b804e91506a7f3c58690c6fd774b28f95184d5dc /markup/rst/convert.go | |
parent | 8cbe2bbfad6aa4de267921e24e166d4addf47040 (diff) | |
download | hugo-fdfa4a5fe62232f65f1dd8d6fe0c500374228788.tar.gz hugo-fdfa4a5fe62232f65f1dd8d6fe0c500374228788.zip |
Allow getJSON errors to be ignored
This change is mostly motivated to get a more stable CI build (we're building the Hugo site there, with Instagram and Twitter shortcodes sometimes failing).
Fixes #7866
Diffstat (limited to 'markup/rst/convert.go')
-rw-r--r-- | markup/rst/convert.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markup/rst/convert.go b/markup/rst/convert.go index 64cc8b511..cbc15c81a 100644 --- a/markup/rst/convert.go +++ b/markup/rst/convert.go @@ -60,11 +60,11 @@ func (c *rstConverter) getRstContent(src []byte, ctx converter.DocumentContext) path := getRstExecPath() if path == "" { - logger.ERROR.Println("rst2html / rst2html.py not found in $PATH: Please install.\n", + logger.Println("rst2html / rst2html.py not found in $PATH: Please install.\n", " Leaving reStructuredText content unrendered.") return src } - logger.INFO.Println("Rendering", ctx.DocumentName, "with", path, "...") + logger.Println("Rendering", ctx.DocumentName, "with", path, "...") var result []byte // certain *nix based OSs wrap executables in scripted launchers // invoking binaries on these OSs via python interpreter causes SyntaxError |