Add component name prefix to errors

This commit is contained in:
Will Faught
2023-03-04 11:06:38 -08:00
parent bfb3e90505
commit b6ea579be1
7 changed files with 8 additions and 8 deletions

View File

@@ -43,7 +43,7 @@
{{ else if eq $method "resize" }}
{{ $resource = $resource.Resize $options }}
{{ else }}
{{ errorf "invalid method: %q" $method }}
{{ errorf "paige/img: invalid method: %q" $method }}
{{ end }}
{{ end }}