(error, context)
| 41 | * can be passed as a prop, and safe to call before (or without) Sentry init. |
| 42 | */ |
| 43 | export const reportRendererHandledError: FrontendErrorReporter = (error, context) => { |
| 44 | (initializedReporter ?? reportViaGlobalErrorEvent)(error, context); |
| 45 | }; |
| 46 | |
| 47 | export const initDesktopCrashReporting = (): void => { |
| 48 | if (typeof window === "undefined") return; |
no outgoing calls
no test coverage detected