jezs00 / pycasso

A system to send AI generated art to an E-Paper display through a Raspberry PI unit
MIT License
73 stars 6 forks source link

Log config load failures #34

Open jezs00 opened 1 year ago

jezs00 commented 1 year ago

While having fallback constant variables in the config loading is useful to ensure program still runs, it is hard to pin down an issue if it involves a configuration failure as pycasso just loads the constants quietly.

We should log a warning message for any config item not loaded, with the constant value that it has defaulted to, so that we know when the application has replaced a variable.