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

Function init

packages/node-core/src/light/sdk.ts:69–71  ·  view source on GitHub ↗
(options: NodeOptions | undefined = {})

Source from the content-addressed store, hash-verified

67 * Initialize Sentry for Node in light mode (without OpenTelemetry).
68 */
69export function init(options: NodeOptions | undefined = {}): LightNodeClient | undefined {
70 return _init(options, getDefaultIntegrations);
71}
72
73/**
74 * Initialize Sentry for Node in light mode, without any integrations added by default.

Callers

nothing calls this directly

Calls 1

_initFunction · 0.70

Tested by

no test coverage detected