mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-12 19:56:53 +00:00
⚗️(frontend) capture console.error in PostHog
Forward `console.error` calls to PostHog on top of the existing exception capture. This is experimental: the goal is to gather more information about buggy situations that do not surface as thrown exceptions today. May be reverted or filtered depending on the signal-to-noise ratio.
This commit is contained in:
committed by
aleb_the_flash
parent
f0c08bea92
commit
089db20a2e
@@ -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
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user