You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The context will also auto-capture exceptions and send them to PostHog, unless you disable it by setting
19
-
`POSTHOG_MW_CAPTURE_EXCEPTIONS` to `False` in your Django settings.
20
+
`POSTHOG_MW_CAPTURE_EXCEPTIONS` to `False` in your Django settings. The exceptions are captured using the
21
+
global client, unless the setting `POSTHOG_MW_CLIENT` is set to a custom client instance
20
22
21
23
The middleware behaviour is customisable through 3 additional functions:
22
24
- `POSTHOG_MW_EXTRA_TAGS`, which is a Callable[[HttpRequest], Dict[str, Any]] expected to return a dictionary of additional tags to be added to the context.
0 commit comments