Display an error message if starting a proxy fails
Currently if the user clicks Start and proxying fails, the button will remain Start, but otherwise there is no indication that proxying has failed. We should instead display some error message to the user.
Thanks for creating the issue! For now, will be any debugging information we can show dogfooders that will be useful to us, or should we just show something short and sweet? (E.g.: "Darn, we're having trouble connecting. Please report this error to the uProxy team.")
I'll try to make this display whatever error info we have in addition to a generic message, but depending on which specific error occurs it may or may not be something meaningful.
Changing this to P1.
Also there are a variety of proxying failures, some of which are easier than others to detect. For example right now there are cases where we make an API call to start proxying and get an error - those will be easy to display to the user. However there can also be errors where a client asks to start proxying with the server, but the server never replies. In that case we will need to build some timeout mechanism to display an error to the client when the server hasn't replied in X seconds.