MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / getDefaultIntegrations

Function getDefaultIntegrations

packages/angular/src/sdk.ts:27–50  ·  view source on GitHub ↗
(_options: BrowserOptions = {})

Source from the content-addressed store, hash-verified

25 * Get the default integrations for the Angular SDK.
26 */
27export function getDefaultIntegrations(_options: BrowserOptions = {}): Integration[] {
28 // Don't include the BrowserApiErrors integration as it interferes with the Angular SDK's `ErrorHandler`:
29 // BrowserApiErrors would catch certain errors before they reach the `ErrorHandler` and
30 // thus provide a lower fidelity error than what `SentryErrorHandler`
31 // (see errorhandler.ts) would provide.
32 //
33 // see:
34 // - https://github.com/getsentry/sentry-javascript/issues/5417#issuecomment-1453407097
35 // - https://github.com/getsentry/sentry-javascript/issues/2744
36 return [
37 // TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
38 // eslint-disable-next-line typescript/no-deprecated
39 inboundFiltersIntegration(),
40 functionToStringIntegration(),
41 conversationIdIntegration(),
42 breadcrumbsIntegration(),
43 globalHandlersIntegration(),
44 linkedErrorsIntegration(),
45 dedupeIntegration(),
46 httpContextIntegration(),
47 cultureContextIntegration(),
48 browserSessionIntegration(),
49 ];
50}
51
52/**
53 * Inits the Angular SDK

Callers 2

sdk.test.tsFile · 0.90
initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected