Commit 6a6ce10 1 parent e7c30e9 commit 6a6ce10 Copy full SHA for 6a6ce10
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 6
6
{{ end -}}
7
7
{{ $page := .Site.GetPage $pageRef -}}
8
8
{{ if not $page -}}
9
- {{ errorf "spec_status: Can't find page at '%s'." $pageRef -}}
9
+ {{ warnf "spec_status: Can't find page at '%s'." $pageRef -}}
10
10
{{ end -}}
11
11
12
12
{{ $_match := .Get 2 | default "Status" -}}
17
17
{{/* Note that content is in HTML. */ -}}
18
18
{{ $statusLine = index . 0 -}}
19
19
{{ else -}}
20
- {{ errorf "%s: page '%s' does not contain a line matching '%s'." $err $pageRef $_match -}}
20
+ {{ warnf "%s: page '%s' does not contain a line matching '%s'." $err $pageRef $_match -}}
21
21
{{ end -}}
22
22
23
23
{{ $status := "" -}}
30
30
{{ with findRE $statusRE $statusLine -}}
31
31
{{ $status = index . 0 -}}
32
32
{{ else -}}
33
- {{ errorf "%s: '%s' value did not match one of '%s' in file '%s': matched line is '%s'" $err $_match $statusValueRE $pageRef $statusLine -}}
33
+ {{ warnf "%s: '%s' value did not match one of '%s' in file '%s': matched line is '%s'" $err $_match $statusValueRE $pageRef $statusLine -}}
34
+ {{ $status = "[STATUS ACCESS FAILURE DURING SITE BUILD]" -}}
34
35
{{ end -}}
35
36
36
37
**[{{ $label }}]({{ $page.RelPermalink }}):** {{ lower $status -}}
You can’t perform that action at this time.
0 commit comments