Skip to content

Commit

Permalink
remove scope.getSession definedness check
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed May 11, 2022
1 parent f4e60c1 commit 6dc3e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hub/src/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6dc3e50

Please sign in to comment.