Hi, 


I have a cron schedule setup for my app, it will try to do a list of 
things(access a list of urls). I use a loop to access all of my urls:

for url in url_list:

    access_url



now I got below error sometimes: 

"Deadline exceeded while waiting for HTTP response from URL: 
http://myaccessurl9.html";


I understand that's because myaccessurl9.html response timed out. My question 
is:

1. how can I catch and ignore this error, then app can skip the problem url and 
keep working with all other urls? right now the app just stopped

2. similar as 1, how can I catch it and then try it again, let's say try 3 
times and then skip to next url


Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to