Wikimedia
WatchTranslations: Email admins when errors are logged
Problem
Flask logs errors to stderr only, which is stored into a file by Toolforge's infrastructure. However, this file is examined only when users report an error, possibly missing other fatal errors.
Proposed solution
Examine how to make Flask send emails to the server admin when errors are logged, and add code for enabling this feature. Keep in mind this should be active at production-only.
Student is expected to upload a patch against labs/tools/watch-translations
repository at Wikimedia Gerrit. Student should claim Phabricator task while claiming task at the GCI site.
Materials
Task tags
Students who completed this task
BubblySprout