Closed alexgerstein closed 9 years ago
There's not much to do to defend against this one since it happens on Wikipedia's end.
Well can we catch the bad return value and just leave no categories then? Not good for the whole scrape/categorize command to fail because of bad input.
Ah, see you found the line. Kk makes sense.
Is it worth taking a look to see what the possible errors for all Wiki returned values are? We should catch those.
The error was that it didn't return JSON, which should never happen... It's not something that we can "catch" because we won't ever be able to parse it.
Fixed the pr! Ready for your review...
Closes #317.