Skip to content

Commit 56f8b6e

Browse files
committed
don't pass custom context to startIdleTransaction since it's an internal method
1 parent db7089b commit 56f8b6e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/tracing/src/hubextensions.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,9 @@ export function startIdleTransaction(
188188
context: TransactionContext,
189189
idleTimeout?: number,
190190
onScope?: boolean,
191-
sampleContext?: SampleContext,
192191
): IdleTransaction {
193192
const transaction = new IdleTransaction(context, hub, idleTimeout, onScope);
194-
return sample(hub, transaction, { ...getDefaultSampleContext(), ...sampleContext });
193+
return sample(hub, transaction, getDefaultSampleContext());
195194
}
196195

197196
/**

0 commit comments

Comments
 (0)