HomePhabricator

Morelike API: return 503 when MW API fails

Description

Morelike API: return 503 when MW API fails

When the MediaWiki API fails to respond, don't return 404, return 503 so
that SRE (or anyone monitoring the logs) can find out the real reason of
the failure.

Bug: T247732
Change-Id: I141aae76f21be34cca936161286a3e70cae30d44

Details

Provenance
bmansurovAuthored on Apr 20 2020, 12:08 AM
Parents
rMSRA7fc4b8454976: Add named log levels
Branches
Unknown
Tags
Unknown
ChangeId
I141aae76f21be34cca936161286a3e70cae30d44