Skip to content

Commit 73317d9

Browse files
mydeaLms24
andauthored
Update docs/platforms/javascript/common/enriching-events/process-isolation/index.mdx
Co-authored-by: Lukas Stracke <[email protected]>
1 parent 88bb94a commit 73317d9

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/javascript/common/enriching-events/process-isolation

1 file changed

+1
-1
lines changed

docs/platforms/javascript/common/enriching-events/process-isolation/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ notSupported:
2121

2222
In server-side environments, the <PlatformLink to='/enriching-events/scopes'>isolation scope</PlatformLink> is automatically forked around request boundaries. This means that each request will have its own isolation scope, and data set on the isolation scope will only apply to events captured during that request. This is done automatically by the SDK.
2323

24-
However, tehre are also other cases where you may want to have isolation, for example in background jobs or when you want to isolate a specific part of your code. In these cases, you can use `Sentry.withIsolationScope()` to create a new isolation scope that is valid inside of the callback you pass to it - see [Using withIsolationScope](../scopes/#using-withisolationscope).
24+
However, there are also other cases where you may want to have isolation, for example in background jobs or when you want to isolate a specific part of your code. In these cases, you can use `Sentry.withIsolationScope()` to create a new isolation scope that is valid inside of the callback you pass to it - see [Using withIsolationScope](../scopes/#using-withisolationscope).
2525

2626
The following example shows how you can use `withIsolationScope` to attach data for a specific job run:
2727

0 commit comments

Comments
 (0)