diff options
| author | Josh Ferrell <josh@vector35.com> | 2026-04-15 11:21:40 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2026-04-15 11:21:44 -0400 |
| commit | b4ccb82ea76b98457d9dc59424632ca412511ed4 (patch) | |
| tree | 2eb4d7875181cee7b05413fa6dcdaea3a1d95981 /python/function.py | |
| parent | c08cf3f1eaa73a5171c27044100479998104d58a (diff) | |
[Python API] Replace bare "except:" with "except Exception:" to fix signal propagation
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
