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/encoded_strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/examples/encoded_strings.py') 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 -- cgit v1.3.1