Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/node/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function init(options: NodeOptions = {}): void {
}

if (options.autoSessionTracking === undefined) {
options.autoSessionTracking = true;
options.autoSessionTracking = false;
}

if (options.environment === undefined && process.env.SENTRY_ENVIRONMENT) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Sentry.init({
dsn: 'http://[email protected]/1337',
release: '1.1',
transport: DummyTransport,
autoSessionTracking: true
});

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ class DummyTransport extends BaseDummyTransport {
Sentry.init({
dsn: 'http://[email protected]/1337',
release: '1.1',
transport: DummyTransport
transport: DummyTransport,
autoSessionTracking: true
});

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class DummyTransport extends BaseDummyTransport {
Sentry.init({
dsn: 'http://[email protected]/1337',
release: '1.1',
transport: DummyTransport
transport: DummyTransport,
autoSessionTracking: true
});
/**
* The following code snippet will throw an exception of `mechanism.handled` equal to `false`, and so this session
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ class DummyTransport extends BaseDummyTransport {
Sentry.init({
dsn: 'http://[email protected]/1337',
release: '1.1',
transport: DummyTransport
transport: DummyTransport,
autoSessionTracking: true
});

/**
Expand Down