Skip to content

Commit 579fd6b

Browse files
committed
Increase log level when site_url is not set
1 parent d94a2a4 commit 579fd6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdocs_rss_plugin/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def on_config(self, config: config_options.Config) -> dict:
172172
base_feed.get("html_url") + OUTPUT_FEED_UPDATED
173173
)
174174
else:
175-
logging.warning(
175+
logger.error(
176176
"[rss-plugin] The variable `site_url` is not set in the MkDocs "
177177
"configuration file whereas a URL is mandatory to publish. "
178178
"See: https://validator.w3.org/feed/docs/rss2.html#requiredChannelElements"

0 commit comments

Comments
 (0)