DownloadError: ApplicationError
Posted
by Joel
on Stack Overflow
See other posts from Stack Overflow
or by Joel
Published on 2010-03-30T23:05:38Z
Indexed on
2010/03/30
23:13 UTC
Read the original article
Hit count: 382
google-app-engine
I have a function called DownloadData() which uses url.fetch(). From time to time it throws DownloadError: ApplicationError: 2 timed out error.
How can I catch this error? With "except DownloadError: ApplicationError: 2 timed " or only "DownloadError"? It is hard to reproduce this error so I can not know which except to use.
Thanks,
Joel
© Stack Overflow or respective owner