Skip to content

Commit 83af6c5

Browse files
committed
fix: add field to proxy client setup
1 parent e9c72e7 commit 83af6c5

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.24.1 – 2025-04-11
2+
3+
1. Add `log_captured_exceptions` option to proxy setup
4+
15
## 3.24.0 – 2025-04-10
26

37
1. Add config option to `log_captured_exceptions`

posthog/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
# Currently alpha, use at your own risk
2727
enable_exception_autocapture = False # type: bool
2828
exception_autocapture_integrations = [] # type: List[Integrations]
29+
log_captured_exceptions = False # type: bool
2930
# Used to determine in app paths for exception autocapture. Defaults to the current working directory
3031
project_root = None # type: Optional[str]
3132
# Used for our AI observability feature to not capture any prompt or output just usage + metadata
@@ -593,6 +594,7 @@ def _proxy(method, *args, **kwargs):
593594
# This kind of initialisation is very annoying for exception capture. We need to figure out a way around this,
594595
# or deprecate this proxy option fully (it's already in the process of deprecation, no new clients should be using this method since like 5-6 months)
595596
enable_exception_autocapture=enable_exception_autocapture,
597+
log_captured_exceptions=log_captured_exceptions,
596598
exception_autocapture_integrations=exception_autocapture_integrations,
597599
)
598600

posthog/version.py

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

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

0 commit comments

Comments
 (0)