mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-03 22:25:27 +00:00
♻️(frontend) prefer captureMediaEvent over reportError when no-op
Switch calls to `reportError` over to `captureMediaEvent` when the underlying situation is not an engineering issue to investigate but rather a media-related event worth tracking (e.g. no camera or microphone available on the user's device). `reportError` stays reserved for actual errors that warrant an engineer's attention.
This commit is contained in:
committed by
aleb_the_flash
parent
199c0297d4
commit
ab40ec365d
@@ -134,7 +134,8 @@ export const captureMediaEvent = async (
|
||||
| 'media-acquisition'
|
||||
| 'media-device-topology'
|
||||
| 'media-device-success'
|
||||
| 'device-not-found',
|
||||
| 'device-not-found'
|
||||
| 'permissions-denied',
|
||||
props: Record<string, unknown>
|
||||
) => {
|
||||
captureEvent(event, { ...props, ...(await deviceSnapshot()) })
|
||||
|
||||
Reference in New Issue
Block a user