-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReportDownloader - Bad Gateway exception #41
Comments
Thanks for pointing this out. I'll take a look -- seems like we need a try/finally in the code that's parsing the exception XML, as you mentioned. |
On closer examination, I realized that the library does throw a After the XML parsing errors are logged, the
|
As far as I can tell, this is working as intended. Please see my previous comment and reopen if you still see an issue. |
Hi, It sometimes happens that ReportDownloader throws an exception because it cannot parse the error response.
This happens when Google backend is unavailable (we're getting an 502 Error with the robot page). It seems that this code doesn't handle the situation when the error response is not correctly formatted in xml format.
Could we in catch this parsing exception and throw a
Detailed/ReportDownloadResponseException
with 502 error code?example exception:
v201502 has the same problem
The text was updated successfully, but these errors were encountered: