==== What is the problem?
Submitting invalid parameters (e.g. an invalid language or invalid image url) leads to a 500 error:
```
Oops! An Error Occurred
The server returned a "500 Internal Server Error".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
```
Before, it would return a helpful error message saying why the parameter was invalid.
==== URLs to reproduce problem
- https://ocr-test.wmcloud.org/?image=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F1%2F1e%2FThe_Book_of_Scottish_Song.djvu%2Fpage20-1024px-The_Book_of_Scottish_Song.djvu.jpg&langs[]=en&engine=goog
- https://ocr-test.wmcloud.org/?image=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F1%2F1e%2FThe_Book_of_Scottish_Song.djvu%2Fpage20-1024px-The_Book_of_Scottish_Song.djvu.jpg&langs%5B%5D=scots&engine=google
**Expected behavior:** User should see an appropriate validation message, so they can correct their mistake.
**Observed behavior:** User is shown the 500 error above.
==== Environment
**Wikimedia OCR:** https://ocr-test.wmcloud.org/ Version 0.1.0-7-g3cc37e1