[QA] Error coming from mw-api-siteinfo.py

Željko Filipin zfilipin at wikimedia.org
Fri Sep 12 11:49:14 UTC 2014


On Wed, Sep 10, 2014 at 8:53 PM, S Page <spage at wikimedia.org> wrote:

> To avoid wasting time in misdiagnosis, instead of mw-api-siteinfo.py
> reporting JSON parsing errors from
>
>    siteinfo = json.loads(response.content)
>
> it should earlier fail with "ERROR 404 response from
> http://en.wikipedia.beta.wmflabs.org/w/api.php , aggghhh!"
>

This is tracked in bug 70695[1].

Željko
--
1: https://bugzilla.wikimedia.org/show_bug.cgi?id=70695
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/qa/attachments/20140912/cd003637/attachment.html>


More information about the QA mailing list