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/lineformatter.py | |
| parent | c08cf3f1eaa73a5171c27044100479998104d58a (diff) | |
[Python API] Replace bare "except:" with "except Exception:" to fix signal propagation
Diffstat (limited to 'python/lineformatter.py')
| -rw-r--r-- | python/lineformatter.py | 2 |
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 |
