From 74a6f5e865d98c5e14af5f6968c8cddd36617752 Mon Sep 17 00:00:00 2001 From: openhands Date: Sat, 1 Nov 2025 20:21:53 +0000 Subject: [PATCH] fix: Fix logging error in signals endpoint Fix logger call to use proper string formatting instead of keyword arguments --- src/dashboard/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dashboard/api.py b/src/dashboard/api.py index b231068..07a93f8 100644 --- a/src/dashboard/api.py +++ b/src/dashboard/api.py @@ -802,7 +802,7 @@ async def get_signals(): signals.extend(_create_fallback_signals(station_id, pump['pump_id'])) except Exception as e: - logger.error(f"error_using_real_protocol_data_using_fallback", error=str(e)) + logger.error(f"error_using_real_protocol_data_using_fallback: {str(e)}") # Fallback to mock data if any error occurs for station_id, station in stations.items(): pumps = pumps_by_station.get(station_id, [])