Skip to content

Commit 8158253

Browse files
committed
feat: rename tb
1 parent 14baf67 commit 8158253

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

posthog/exception_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,12 +1010,12 @@ def serialize_code_variables(
10101010
def try_attach_code_variables_to_frames(
10111011
all_exceptions, exc_info, mask_patterns, ignore_patterns
10121012
):
1013-
exc_type, exc_value, tb = exc_info
1013+
exc_type, exc_value, traceback = exc_info
10141014

1015-
if tb is None:
1015+
if traceback is None:
10161016
return
10171017

1018-
tb_frames = list(iter_stacks(tb))
1018+
tb_frames = list(iter_stacks(traceback))
10191019

10201020
if not tb_frames:
10211021
return

0 commit comments

Comments
 (0)