Skip to content

Commit 8371332

Browse files
StefonSimmonsclaude
andcommitted
Remove noisy integration page not found warnings from shortcodes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 269c3d9 commit 8371332

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

layouts/shortcodes/get-metrics-from-git.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
{{ end }}
5050
{{ end }}
5151
{{- if not $page -}}
52-
{{ warnf "Integration page for '%s' not found in get-metrics-from-git shortcode." $int_name }}
5352
{{- else -}}
5453
<!-- We find and use the metrics from the integration page markdown -->
5554
{{- $pattern := `(?s)### Metrics\n(.*?)(#{2,3}\s)` -}}

layouts/shortcodes/get-service-checks-from-git.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
{{ end }}
1111
{{ end }}
1212
{{- if not $page -}}
13-
{{ warnf "Integration page for '%s' not found in get-service-checks-from-git shortcode." $int_name }}
1413
{{- else -}}
1514
{{- $pattern := `(?s)### Service Checks\n(.*?)(#{2,3}\s)` -}}
1615
{{- $matches := findRE $pattern $page.RawContent 1 -}}

0 commit comments

Comments
 (0)