From 00380e54926a6c464637a2fd452283aff752f01f Mon Sep 17 00:00:00 2001 From: Varun Nuthalapati Date: Sat, 25 Apr 2026 12:04:43 -0700 Subject: [PATCH] fix: replace bare except with json.JSONDecodeError in trajectory parser --- ufo/trajectory/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ufo/trajectory/parser.py b/ufo/trajectory/parser.py index 7aa2e7d3b..325e0119d 100644 --- a/ufo/trajectory/parser.py +++ b/ufo/trajectory/parser.py @@ -155,7 +155,7 @@ def _load_evaluation_data(self) -> Dict[str, Any]: try: evaluation_data = json.load(file) - except: + except json.JSONDecodeError: evaluation_data = {} else: