From 144eb552aab6a51b3a0f810523e6d79fbf735d95 Mon Sep 17 00:00:00 2001 From: Nitzan Pomerantz <9297302+nitzpo@users.noreply.github.com> Date: Sun, 26 Oct 2025 23:07:04 +0200 Subject: [PATCH] Cr fix - error catching Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- nadlan_mcp/govmap/statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nadlan_mcp/govmap/statistics.py b/nadlan_mcp/govmap/statistics.py index 61ea83d..ff5bc07 100644 --- a/nadlan_mcp/govmap/statistics.py +++ b/nadlan_mcp/govmap/statistics.py @@ -126,7 +126,7 @@ def calculate_deal_statistics(deals: List[Deal]) -> DealStatistics: if 'T' in date_str: date_str = date_str.split('T')[0] parsed_dates.append(date_str) - except: + except (ValueError, TypeError): continue if parsed_dates: