]> git.maquefel.me Git - brevno-suite/hugo/commit
resources: Add URI GetRemote error
authorb10c <19157360+0xB10C@users.noreply.github.com>
Wed, 14 Aug 2024 11:24:58 +0000 (13:24 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Aug 2024 11:24:58 +0000 (13:24 +0200)
commit5220d371ea49299e0b1a539fe3ead8d406d74a60
tree45bdf604c43a40c545bd1206b07a6034c6f8ea32
parentb2d4f67a881ac55f9e47f57bbd81db621848a4ae
resources: Add URI GetRemote error

Previouly, only "ERROR failed to fetch remote resource: Forbidden"
would be shown when a resource failed to load. In my case, a tweet's
author I was embedding using the twitter shortcode switched his profile
to private which resulted in my blog failing to build. To figure out
where the originates, I added the log to the error message.
hugolib/resource_chain_test.go
resources/resource_factories/create/remote.go