summaryrefslogtreecommitdiff
path: root/python/lineformatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/lineformatter.py')
-rw-r--r--python/lineformatter.py2
1 files changed, 1 insertions, 1 deletions
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