Skip to content

Commit 1521621

Browse files
authored
fix: Update Django integration for manual capture (#135)
1 parent 39070ba commit 1521621

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.6.5 - 2024-09-10
2+
3+
1. Fix django integration support for manual exception capture.
4+
15
## 3.6.4 - 2024-09-05
26

37
1. Add manual exception capture.

posthog/exception_capture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def exception_receiver(self, exc_info, extra_properties):
5757
metadata = {"distinct_id": extra_properties["distinct_id"]}
5858
else:
5959
metadata = None
60-
self.capture_exception(exc_info[0], exc_info[1], exc_info[2], metadata)
60+
self.capture_exception((exc_info[0], exc_info[1], exc_info[2]), metadata)
6161

6262
def capture_exception(self, exception, metadata=None):
6363
try:

posthog/version.py

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

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

0 commit comments

Comments
 (0)