diff --git a/src/api/routes/site.py b/src/api/routes/site.py index 9ed4edae7b253dc1bdac0760991c05589d33a0ca..b447722f6ad68f428dfdfe77580b42879be09bbb 100644 --- a/src/api/routes/site.py +++ b/src/api/routes/site.py @@ -29,7 +29,9 @@ def api_route_status(): try: announcements.extend(query_announcements()) except Exception: - status = "unavailable" + # We do NOT return status 'unavailable' because the status is the EXPECTED status. If there is an unexpected + # db failure, we want errors to show up and not just 'Site not available' + pass response = { "status": status, "is_debug": DEBUG_ENABLED,