mgeitz / eqalert

Project 1999 Log Parser
GNU General Public License v2.0
10 stars 8 forks source link

Config cleanup/refactor #259

Closed ischwarz3 closed 7 months ago

ischwarz3 commented 7 months ago

This shouldn't change any existing functionality, just a refactoring of the code. This is an intermediary step to be able to put these logical blocks into testable functions.

I was able to successfully generate new config files as well as read existing configs ... before you merge this you probably want to make sure everything is working as expected since I don't have any tests (yet) to prove it.

You might find this Exception handler helpful: from eqa.lib.util import handleException

mgeitz commented 7 months ago

Awesome additions - the use of an imported custom error handler function seems like a no-brainer in hindsight!