confighelper: attempt to clarify unparsed config warnings

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2021-10-31 19:17:25 -04:00
parent 8e33698e23
commit e71e723f89
1 changed files with 4 additions and 4 deletions

View File

@ -153,10 +153,10 @@ class ConfigHelper:
for opt, val in self.config.items(sect): for opt, val in self.config.items(sect):
if opt not in parsed_opts: if opt not in parsed_opts:
self.server.add_warning( self.server.add_warning(
f"Invalid config option '{opt}: {val}' detected in " f"Unparsed config option '{opt}: {val}' detected in "
f"section [{sect}]. To solve this issue check your " f"section [{sect}]. This may be an option no longer "
"moonraker config. This option is invalid and has to " "available or could be the result of a module that "
"be deleted or fixed. In the future this will result " "failed to load. In the future this will result "
"in a startup error.") "in a startup error.")
def get_configuration(server: Server, def get_configuration(server: Server,