Add full path to error messages

This commit is contained in:
Will Faught
2023-04-23 23:24:10 -07:00
parent 313370e91c
commit 5359a3d1fa
11 changed files with 13 additions and 13 deletions

View File

@@ -5,7 +5,7 @@
{{ if (urls.Parse $url).Scheme }}
{{ with resources.GetRemote $url }}
{{ with .Err }}
{{ errorf "paige/resource: cannot get remote resource %q: %v" $url . }}
{{ errorf "layouts/partials/paige/resource.html: cannot get remote resource %q: %v" $url . }}
{{ else }}
{{ $result = . }}
{{ end }}