etoa / etoa-gui

EtoA Game GUI
https://etoa.ch
GNU Affero General Public License v3.0
10 stars 7 forks source link

eventhandler: restructure code to fail instead of silently using default values for nonexisting config parameters #527

Open river-etoa opened 2 years ago

river-etoa commented 2 years ago

currently the eventhandler uses implicit empty string, or its conversion to 0 for numerical values, for configuration parameters that don't exist in the database. Change this to failing explicitly so param typos and config issues get noticed.

should probably be accompanied by improved frontend handling of config db values.