Repository navigation
Replies: 1 comment
|
The migration guide is referring to the replacement for
For most applications using supported framework integrations, Sentry manages the relevant scopes automatically, so you usually don't need to wrap every function manually. So, for code that previously used Sentry.withIsolationScope(() => {
// Your isolated work
});The distinction is that |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello, I'm migrating from v7 to v10 and the new withIsolationScope is confusing to me, the migration guide says to use it instead of runWithAsyncContext.
At the same time, the current docs state to use it if you want to "isolate some code"
But the code docs state not to use that function, stating it is not ment for "normal" applications and that it is not recommended to use it.
A bit of cleaification of this would be great, thank you.
All reactions