I'm a bit stuck on how to do proper error handling here:
MenuScreen.RequestSettings requests settings from our server using Service Stack. This works fine when the application has access to the server and everything is configured, but if anything goes wrong (which is likely to happen), my app crashes. I need a way to handle the error that occurs. I have done a try catch around this code and also within the RequestSettings call. I feel like I'm missing something really obvious, thoughts?
new Thread(new ThreadStart(delegate
// additional code removed for clarity
I am calling this on a new thread due to a recommendation I found elsewhere that any calls that may take a bit should not be on the current thread or my application will look like it locked up.