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.
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.