Closed afig closed 5 years ago
This PR also sneaks in a change to the call to pytesseract
. Before, the default of only English was used. We now also check for Spanish, Portuguese, and Japanese, but this is an arbitrary list. We should change this to something more appropriate at some point.
This PR fixes issues where certain requests could cause the Computer Vision portion of the bot to fail. HTTP status codes that indicate errors are now handled with descriptive error messages.
For examples of what these look like, see this final test comment.