From f8443eb67a173da5774e486e0b55531cfcbe0dc6 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Wed, 11 May 2022 13:11:09 +0200 Subject: [PATCH] remove `scope.getSession` definedness check --- packages/hub/src/hub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hub/src/hub.ts b/packages/hub/src/hub.ts index 636116b47816..7f591e44c2e8 100644 --- a/packages/hub/src/hub.ts +++ b/packages/hub/src/hub.ts @@ -447,7 +447,7 @@ export class Hub implements HubInterface { const { scope, client } = this.getStackTop(); if (!scope) return; - const session = scope.getSession && scope.getSession(); + const session = scope.getSession(); if (session) { if (client && client.captureSession) { client.captureSession(session);