Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 7.3.1 - 2025-12-06

fix: remove unused $exception_message and $exception_type

# 7.3.0 - 2025-12-05

feat: improve code variables capture masking
Expand Down
4 changes: 0 additions & 4 deletions posthog/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,10 +1001,6 @@ def capture_exception(
all_exceptions_with_trace_and_in_app = event["exception"]["values"]

properties = {
"$exception_type": all_exceptions_with_trace_and_in_app[0].get("type"),
"$exception_message": all_exceptions_with_trace_and_in_app[0].get(
"value"
),
"$exception_list": all_exceptions_with_trace_and_in_app,
**properties,
}
Expand Down
6 changes: 0 additions & 6 deletions posthog/test/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,6 @@ def test_basic_capture_exception_with_no_exception_given(self):
print(capture_call)
self.assertEqual(capture_call[1]["distinct_id"], "distinct_id")
self.assertEqual(capture_call[0][0], "$exception")
self.assertEqual(
capture_call[1]["properties"]["$exception_type"], "Exception"
)
self.assertEqual(
capture_call[1]["properties"]["$exception_message"], "test exception"
)
self.assertEqual(
capture_call[1]["properties"]["$exception_list"][0]["mechanism"][
"type"
Expand Down
2 changes: 1 addition & 1 deletion posthog/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = "7.3.0"
VERSION = "7.3.1"

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