I have a plain except:. It should catch everything. But nothing is being caught.

It isn't a server problem. I am testing what happens to the program if there 
are network problems like when a network goes down briefly. In this instance. I 
am simply turning off my wifi while it is running.

I was hoping to find what Errors get raised that I could catch and simply have 
a loop which sleeps a little while, then tries again, until I have success.

I can work on writing a sample app. It shouldn't be difficult. But it can't be 
the one I am using at the moment because it is for a secured api which requires 
an account and credentials.

But again the key part is nothing is happening when I disconnect the network. 
It just goes comatose. No errors. The server side is fine. When my network is 
up, the app works flawlessly.

If the outage is short enough, 2 minutes and under from what I have briefly 
experimented with. It simply resumes. But my app has not been informed of any 
issues and I have missed ??? amount of data during the outage.

I am at a loss on how to make this fault tolerant and how to debug.

Thanks. 

Reply via email to