Allow getJSON errors to be ignored
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 21 Oct 2020 09:17:48 +0000 (11:17 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 22 Oct 2020 07:09:29 +0000 (09:09 +0200)
commitfdfa4a5fe62232f65f1dd8d6fe0c500374228788
treeb804e91506a7f3c58690c6fd774b28f95184d5dc
parent8cbe2bbfad6aa4de267921e24e166d4addf47040
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
52 files changed:
.travis.yml
commands/commandeer.go
commands/commands.go
commands/convert.go
commands/hugo.go
commands/server.go
commands/static_syncer.go
common/constants/constants.go
common/loggers/ignorableLogger.go
common/loggers/loggers.go
common/loggers/loggers_test.go
deps/deps.go
helpers/content.go
helpers/pathspec.go
hugofs/nosymlink_fs.go
hugofs/nosymlink_test.go
hugofs/walk.go
hugolib/alias.go
hugolib/config.go
hugolib/content_map_page.go
hugolib/filesystems/basefs.go
hugolib/hugo_modules_test.go
hugolib/hugo_sites.go
hugolib/hugo_sites_build.go
hugolib/page.go
hugolib/page__menus.go
hugolib/page__meta.go
hugolib/page__per_output.go
hugolib/pages_capture.go
hugolib/shortcode.go
hugolib/site.go
hugolib/site_render.go
hugolib/testhelpers_test.go
langs/i18n/i18n.go
markup/asciidocext/convert.go
markup/converter/converter.go
markup/internal/external.go
markup/org/convert.go
markup/pandoc/convert.go
markup/rst/convert.go
modules/client.go
modules/collect.go
resources/page/pagemeta/page_frontmatter.go
resources/resource_spec.go
resources/resource_transformers/babel/babel.go
resources/resource_transformers/postcss/postcss.go
resources/transform.go
tpl/data/data.go
tpl/data/data_test.go
tpl/data/resources.go
tpl/data/resources_test.go
tpl/fmt/fmt.go