Fix a crash when querying Review Bot worker status in error states.
Review Request #12093 — Created Feb. 28, 2022 and submitted — Latest diff uploaded
Review Bot expected that all workers would respond with a successful
state, and if that didn't occur, the extension would crash retrieving
status.Now, the worker looks for error payloads and returns an error state if
any hosts reported an error or did not report a status.
Manually tested with a failed worker.
Unit tests pass.