Add component name prefix to errors
This commit is contained in:
@@ -76,6 +76,6 @@
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ errorf "invalid type: %q" $type }}
|
||||
{{ errorf "paige/gallery: invalid type: %q" $type }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
@@ -11,7 +11,7 @@
|
||||
{{ $width := .Get "width" }}
|
||||
|
||||
{{ if not $src }}
|
||||
{{ errorf "invalid src: %q" $src }}
|
||||
{{ errorf "paige/image: invalid src: %q" $src }}
|
||||
{{ end }}
|
||||
|
||||
{{ $content := partial "paige/img.html" (dict
|
||||
|
Reference in New Issue
Block a user