invalid configuration leads to crash #60
Labels
effort: medium
These issues require some work
priority: high
type: error
Bug in the code, typo or omission in the docs, etc.
If the configuration file is not valid JSON or if it doesn't include a LANGUAGE entry, then the program crashes. Tests need to be added.
While one could proceed with a missing LANGUAGE and simply report all constructs as disallowed, it's less baffling and more useful to report an error and exit.
Ideally, the JSON 'schema' should be checked and not just whether it has a LANGUAGE key. Is there a way?
The text was updated successfully, but these errors were encountered: