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/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 70cd6a35..93eb7d15 100644 --- a/python/function.py +++ b/python/function.py @@ -3893,7 +3893,7 @@ class DisassemblyTextLine: if il_func is not None and struct.instrIndex < len(il_func): try: il_instr = il_func[struct.instrIndex] - except: + except Exception: il_instr = None tokens = InstructionTextToken._from_core_struct(struct.tokens, struct.count) -- cgit v1.3.1