Skip to content

tpl/tplimpl: Change resources.GetRemote errors to suppressible warnings #13803

@jmooring

Description

@jmooring

Affects these shortcodes:

  • tpl/tplimpl/embedded/templates/_shortcodes/twitter.html
  • tpl/tplimpl/embedded/templates/_shortcodes/twitter_simple.html
  • tpl/tplimpl/embedded/templates/_shortcodes/x.html
  • tpl/tplimpl/embedded/templates/_shortcodes/x_simple.html
  • tpl/tplimpl/embedded/templates/_shortcodes/vimeo_simple.html

We already emit suppressible warnings with 404s. We need to do the same with other errors. This was an oversight when I reworked these shortcodes a few months ago.

Reference: https://discourse.gohugo.io/t/i-got-an-error-with-hugo-server-locally/55079

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions