zieren / wasted-youth-tracker

Limit kids' time on their (Windows) PC and get a summary of the window titles.
GNU General Public License v3.0
5 stars 0 forks source link

Indicate to server that an error was logged on the client #72

Closed zieren closed 2 years ago

zieren commented 2 years ago

The client should somehow indicate to the server that an error has happened. Maybe check the log on startup? This would be the only way to report errors caught in the OnError handler.

Currently, we only write the error log from that handler, which means the one and only main thread is about to terminate. Maybe we should put a catch block in the main loop to keep it going, and send the error to the server.