We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bca460 commit 0f1d091Copy full SHA for 0f1d091
packages/replay/src/replay.ts
@@ -922,7 +922,7 @@ export class ReplayContainer implements ReplayContainerInterface {
922
const hub = getCurrentHub();
923
const client = hub.getClient();
924
const scope = hub.getScope();
925
- const transport = client?.getTransport();
+ const transport = client && client.getTransport();
926
927
if (!client || !scope || !transport) {
928
return;
0 commit comments