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/examples/triage/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/examples/triage/view.py') diff --git a/python/examples/triage/view.py b/python/examples/triage/view.py index 28a99a75..3a8b0e02 100644 --- a/python/examples/triage/view.py +++ b/python/examples/triage/view.py @@ -48,7 +48,7 @@ class TriageView(QScrollArea, View): hdr = headers.PEHeaders(self.data) elif self.data.view_type != "Raw": hdr = headers.GenericHeaders(self.data) - except: + except Exception: log.log_error(traceback.format_exc()) if hdr is not None: -- cgit v1.3.1