Skip to content

Commit 09c28e7

Browse files
committed
fix: bare except in exception_utils
1 parent fb57124 commit 09c28e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posthog/exception_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ def _compile_patterns(patterns):
929929
for pattern in patterns:
930930
try:
931931
compiled.append(re.compile(pattern))
932-
except:
932+
except Exception:
933933
pass
934934
return compiled
935935

0 commit comments

Comments
 (0)