Page MenuHomePhabricator

Setup error emails for Wikimedia OCR
Closed, ResolvedPublic2 Estimated Story Points

Description

Same as we did for WS-Export it is helpful to receive error emails while we are working on the project. It might be a good idea to include the environment in the email subject just like in WS-Export

Related Objects

Event Timeline

ARamirez_WMF set the point value for this task to 2.
dom_walden moved this task from QA 🐛 to Done 🏁 on the Community-Tech (CommTech-Sprint-1) board.
dom_walden subscribed.

We (the engineers and I) appear to be getting emails whenever there is a 500 error on the test or production sites.

I have only found one way of triggering this, entering an invalid OCR engine. For example, https://ocr-test.wmcloud.org/?image=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F5%2F57%2FNationaal_Park_Kennemerland_%252826498823287%2529.jpg&engine=goog

We don't appear to get emails when other errors occur such as validation errors, image too large, intermittent errors accessing Commons, etc. (all of which are 400 errors).

As this is developer-focused work, I will move it directly into the Done column and mark as resolved.

Test environment: Test and production Version 0.2.0