Skip to content

Commit 53d059b

Browse files
Lms24AbhiPrasad
andauthored
Change client retrieval
Co-authored-by: Abhijeet Prasad <[email protected]>
1 parent e62393b commit 53d059b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hub/src/hub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ export class Hub implements HubInterface {
444444
* when Tracing is used.
445445
*/
446446
public shouldSendDefaultPii(): boolean {
447-
const { client } = this.getStackTop();
447+
const client = this.getClient();
448448
const options = client && client.getOptions();
449449
return Boolean(options && options.sendDefaultPii);
450450
}

0 commit comments

Comments
 (0)