changeset 13211 | c563da1694bf |
parent 13210 | 7435a9341bb3 |
child 13212 | a7c6ea1c5308 |
--- a/core/moduleapi.lua Sun Jul 16 21:01:31 2023 +0200 +++ b/core/moduleapi.lua Sun Jul 16 21:02:24 2023 +0200 @@ -272,6 +272,8 @@ self:log("error", "Config option '%s' not understood, expecting a period (e.g. \"2 days\")", name); end return ret; + elseif value ~= nil then + self:log("error", "Config option '%s' expects a number or a period description string (e.g. \"3 hours\"), not %s", name, type(value)); end end