Is this the proper way to handle Download Errors from urlfetch (which
happen quite often in my app)?

try:
  result = urlfetch.fetch(url=url)
except DownloadError:
  #return an error


Basically a coding/python question....

Also, would it work to except, and try again within that same test?

For example,

except DownloadError:
  result = urlfetch.fetch(url=url)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to