Skip to content

Commit

Permalink
fix: Update Django integration for manual capture (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkakkar authored Sep 10, 2024
1 parent 39070ba commit 1521621
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.6.5 - 2024-09-10

1. Fix django integration support for manual exception capture.

## 3.6.4 - 2024-09-05

1. Add manual exception capture.
Expand Down
2 changes: 1 addition & 1 deletion posthog/exception_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def exception_receiver(self, exc_info, extra_properties):
metadata = {"distinct_id": extra_properties["distinct_id"]}
else:
metadata = None
self.capture_exception(exc_info[0], exc_info[1], exc_info[2], metadata)
self.capture_exception((exc_info[0], exc_info[1], exc_info[2]), metadata)

def capture_exception(self, exception, metadata=None):
try:
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 = "3.6.4"
VERSION = "3.6.5"

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

0 comments on commit 1521621

Please sign in to comment.