Skip to content

Commit 34c951c

Browse files
committed
chore: rename platform to lang
1 parent 8ae3f2b commit 34c951c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.7.3 - 2024-11-19
2+
3+
1. Rename `platform` property on each frame of exception stacks to `lang`.
4+
15
## 3.7.2 - 2024-11-19
26

37
1. Add `type` property to exception stacks.

posthog/exception_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def serialize_frame(
369369
tb_lineno = frame.f_lineno
370370

371371
rv = {
372-
"platform": "python",
372+
"lang": "python",
373373
"filename": filename_for_module(module, abs_path) or None,
374374
"abs_path": os.path.abspath(abs_path) if abs_path else None,
375375
"function": function or "<unknown>",

posthog/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "3.7.2"
1+
VERSION = "3.7.3"
22

33
if __name__ == "__main__":
44
print(VERSION, end="") # noqa: T201

0 commit comments

Comments
 (0)