nutdotnet / WinNUT-Client

WinForms-based client for monitoring your Uninterruptible Power Supply (UPS) connected to a Network UPS Tools (NUT) server.
GNU General Public License v3.0
227 stars 21 forks source link

Error Reporting & Exception Catching Refactor #86

Closed gbakeman closed 1 year ago

gbakeman commented 1 year ago

Per #79 and #80:

Another issue like #49 , some thrown exceptions aren't being caught by the bug report generator. More work is needed in that area.

In addition, certain Synology NUT servers allow a client to LOGIN successfully, but will then reply ACCESS-DENIED to a LOGOUT command. I don't think this should be happening, but regardless, we're not catching a protocol exception and allowing it to crash the program. Need to make sure we're handling protocol exceptions appropriately.

Summary of changes