klippy: Validate that options in the config file exist
Check that all options specified in the config file are valid. This catches possible typos and spelling errors in variable names that have a default. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
16
docs/Todo.md
16
docs/Todo.md
@@ -4,18 +4,10 @@ features still to be implemented. In no particular order:
|
||||
Host user interaction
|
||||
=====================
|
||||
|
||||
* Improve error reporting:
|
||||
|
||||
* Improve error checks on config file values. If a parameter is
|
||||
incorrect or missing a more friendly error message should be
|
||||
presented to the user.
|
||||
|
||||
* Warn on any unused config settings (to catch spelling errors or
|
||||
fields defined in an incorrect section).
|
||||
|
||||
* Find a better way to report errors. Octoprint sometimes doesn't
|
||||
highlight an error (one has to look in the terminal tab to find the
|
||||
error) and errors written to the log can be non-obvious to a user.
|
||||
* See if there is a better way to report errors. Octoprint sometimes
|
||||
doesn't highlight an error (one has to look in the terminal tab to
|
||||
find the error) and errors written to the log can be non-obvious to
|
||||
a user.
|
||||
|
||||
* Improve startup:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user