From d4a2584dfb8b303c00b0331f02f2f937ded5f011 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Mon, 14 Apr 2025 14:51:55 -0700 Subject: [PATCH] update logging --- app/main/views/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main/views/index.py b/app/main/views/index.py index 575d3d951..92e5de949 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -50,7 +50,8 @@ def index(): counts = status_api_client.get_count_of_live_services_and_organizations() except Exception as e: logger.warning(f"API down when loading homepage: {e}") - counts = {"live_service_count": "N/A", "live_organization_count": "N/A"} + counts = None + print(counts) return render_template( "views/signedout.html", sms_rate=CURRENT_SMS_RATE,