Page MenuHomePhabricator

Add contingency for errors in getting data from TW API
Closed, ResolvedPublic

Description

Right now, if the TW API returns an error in 'send-emails', the command crashes as the code does not check that the request succeeded.

Add some code which checks for errors in the TW API response and skips the troublesome component.

Event Timeline

Change 559065 had a related patch set uploaded (by Arcayn; owner: Arcayn):
[labs/tools/watch-translations@master] Check for TW API errors

https://gerrit.wikimedia.org/r/559065

Arcayn triaged this task as Medium priority.Dec 18 2019, 8:25 PM

Change 559065 merged by jenkins-bot:
[labs/tools/watch-translations@master] Check for TW API errors

https://gerrit.wikimedia.org/r/559065