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

Function init

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

Source from the content-addressed store, hash-verified

78 * Initialize Sentry for Node.
79 */
80export function init(options: NodeOptions | undefined = {}): NodeClient | undefined {
81 return _init(options, getDefaultIntegrations);
82}
83
84/**
85 * Initialize Sentry for Node, without any integrations added by default.

Callers 4

mockLightSdkInitFunction · 0.90
mockSdkInitFunction · 0.90
init.test.tsFile · 0.90
init.tsFile · 0.90

Calls 1

_initFunction · 0.70

Tested by

no test coverage detected