summaryrefslogtreecommitdiff
path: root/python/examples/encoded_strings.py
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2026-04-15 11:21:40 -0400
committerJosh Ferrell <josh@vector35.com>2026-04-15 11:21:44 -0400
commitb4ccb82ea76b98457d9dc59424632ca412511ed4 (patch)
tree2eb4d7875181cee7b05413fa6dcdaea3a1d95981 /python/examples/encoded_strings.py
parentc08cf3f1eaa73a5171c27044100479998104d58a (diff)
[Python API] Replace bare "except:" with "except Exception:" to fix signal propagation
Diffstat (limited to 'python/examples/encoded_strings.py')
-rw-r--r--python/examples/encoded_strings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/encoded_strings.py b/python/examples/encoded_strings.py
index 691d116c..6c12f535 100644
--- a/python/examples/encoded_strings.py
+++ b/python/examples/encoded_strings.py
@@ -31,7 +31,7 @@ class EncodedStringRecognizer(StringRecognizer):
try:
values = bytes.fromhex(type.target.attributes[name])
decoder = self.__class__.decoders[name]
- except:
+ except Exception:
return None
if values is None or decoder is None:
return None