summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py2
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)