From b4ccb82ea76b98457d9dc59424632ca412511ed4 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 15 Apr 2026 11:21:40 -0400 Subject: [Python API] Replace bare "except:" with "except Exception:" to fix signal propagation --- python/lineformatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/lineformatter.py') diff --git a/python/lineformatter.py b/python/lineformatter.py index 4604e624..25d45658 100644 --- a/python/lineformatter.py +++ b/python/lineformatter.py @@ -216,7 +216,7 @@ class LineFormatter(metaclass=_LineFormatterMetaClass): self.line_buf[i].tokens = function.InstructionTextToken._get_core_struct(line.tokens) return ctypes.cast(self.line_buf, ctypes.c_void_p).value - except: + except Exception: log_error(traceback.format_exc()) out_count[0] = 0 return None -- cgit v1.3.1