From b912894858795d3ee8345155ae57edb0e1415759 Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 20 Nov 2022 07:08:25 +0000 Subject: feedmaker: message when script ignored --- make-feed.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'make-feed.lua') diff --git a/make-feed.lua b/make-feed.lua index fa1ac97..1d5c0e2 100755 --- a/make-feed.lua +++ b/make-feed.lua @@ -90,7 +90,10 @@ local function get_metadata(file) loadfile(file)() -- script_name etc are now in our global scope - if config.ignoreCondition() then return nil end + if config.ignoreCondition() then + err(file .. ": ignored by config, skipping") + return nil + end meta.name = script_name meta.description = script_description meta.version = script_version -- cgit v1.2.3-70-g09d2