Skip to content

Commit 349e677

Browse files
committed
fix: Tracing check
1 parent 8bce74a commit 349e677

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/vue/src/sdk.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ export class VueHelper {
179179
this._options = options;
180180
this._attachErrorHandler();
181181

182-
// TODO: Use other check to determine if tracing is enabled
183-
if (this._options.tracesSampleRate) {
182+
if ('tracesSampleRate' in this._options || 'tracesSampler' in this._options) {
184183
this._startTracing();
185184
}
186185
}

0 commit comments

Comments
 (0)