Skip to content

Commit eeb576f

Browse files
committed
small clarification
1 parent 1fb073b commit eeb576f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

text/0122-sdk-hub-scope-merge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ scope.getClient(); // <-- returns client1
9595

9696
The current scope may be kept similar to how we currently keep the current hub, but this is SDK specific and not part of this RFC.
9797

98-
When calling `getCurrentScope()` before a scope was made the current one (=before init was called), we will return a new scope with a noop client.
98+
When calling `getCurrentScope()` before a scope was made the current one (=before `Sentry.init` was called), we will return a new scope with a noop client.
9999
A noop client is a regular client that simply does not send anything.
100100

101101
This way, the API for `getClient()` can always return a client, and users do not have to guard against this being undefined all the time.

0 commit comments

Comments
 (0)