Open source video conferencing app powered by LiveKit. Built with Django and React.
⚗️(frontend) capture console.error in PostHog
lebaudantoine089db20a2ea0
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8550403e..c26753f0 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -14,6 +14,7 @@ and this project adheres to- ✨(frontend) add an audio gauge to the microphone select menu- ✨(frontend) add a sound tester to the output select menu- ✨(frontend) prompt for permissions when toggling a denied device+- ⚗️(frontend) capture console.error in PostHog### Changeddiff --git a/src/frontend/src/features/analytics/hooks/useAnalytics.ts b/src/frontend/src/features/analytics/hooks/useAnalytics.tsindex 3d46ac4f..a1c2d372 100644--- a/src/frontend/src/features/analytics/hooks/useAnalytics.ts+++ b/src/frontend/src/features/analytics/hooks/useAnalytics.ts@@ -42,6 +42,11 @@ export const useAnalytics = ({person_profiles: 'always',capture_pageview: 'history_change',capture_pageleave: true,+ capture_exceptions: {+ capture_unhandled_errors: true,+ capture_unhandled_rejections: true,+ capture_console_errors: true,+ },})})}, [id, host, flags_api_host, isDisabled])