(
event: ErrorEvent,
options?: { readonly logPayload?: boolean },
)
| 199 | * grouped. |
| 200 | */ |
| 201 | export const beforeSendCloudEvent = ( |
| 202 | event: ErrorEvent, |
| 203 | options?: { readonly logPayload?: boolean }, |
| 204 | ): ErrorEvent | null => { |
| 205 | const reported = beforeSendWithOtelCorrelation(event, options); |
| 206 | return reported === null ? null : withStableGroupingFingerprint(minimizeSentryEvent(reported)); |
| 207 | }; |
| 208 | |
| 209 | /** |
| 210 | * The Sentry options the worker and every Durable Object install. It lives |
no test coverage detected