mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-14 20:53:26 +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
@@ -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