MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / beforeSendCloudEvent

Function beforeSendCloudEvent

apps/cloud/src/observability/index.ts:210–216  ·  view source on GitHub ↗
(
  event: ErrorEvent,
  options?: { readonly logPayload?: boolean },
)

Source from the content-addressed store, hash-verified

208 * grouped.
209 */
210export const beforeSendCloudEvent = (
211 event: ErrorEvent,
212 options?: { readonly logPayload?: boolean },
213): ErrorEvent | null => {
214 const reported = beforeSendWithOtelCorrelation(event, options);
215 return reported === null ? null : withStableGroupingFingerprint(reported);
216};
217
218/**
219 * The Sentry options the worker and every Durable Object install. It lives

Callers 2

cloudSentryOptionsFunction · 0.85

Calls 2

Tested by

no test coverage detected