Skip to content

Commit deb5f63

Browse files
committed
chore: tsc fix
1 parent b5c4d53 commit deb5f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export function withScope(callback: (scope: Scope) => void): ReturnType<Hub['wit
278278
logger.error('Error while running withScope callback', e);
279279
}
280280
};
281-
getCurrentHub().withScope(safeCallback);
281+
return getCurrentHub().withScope(safeCallback);
282282
}
283283

284284
/**

0 commit comments

Comments
 (0)