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.
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.
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Check for TW API errors | labs/tools/watch-translations | master | +3 -0 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T240650 Fix ongoing form validation issues | |||
| Resolved | Arcayn | T241065 Add contingency for errors in getting data from TW API |
Change 559065 had a related patch set uploaded (by Arcayn; owner: Arcayn):
[labs/tools/watch-translations@master] Check for TW API errors
Change 559065 merged by jenkins-bot:
[labs/tools/watch-translations@master] Check for TW API errors