MegaAntiCheat / client-backend

GNU General Public License v3.0
118 stars 25 forks source link

Fix logging spam and error handling to promote a better user experience and less spam #100

Closed lili7h closed 8 months ago

lili7h commented 8 months ago

Avoid redundant/repetitive logging in the SteamAPI and RCon modules when the error messages aren't changing

Track error state in RCon module to only warn on first instances of time outs (likely because TF2 isn't launched yet). Don't log the same error message twice, but log different error messages of the same super type.

Remove most of the anyhow errors in command_manager in favour of a strict error type for command manager.

Rework of error messages to make them more intuitive to some users

Bash-09 commented 8 months ago

Just gonna test it a tad more and then merge :)

Bash-09 commented 8 months ago

Yeah I ran it once and it worked, yolo