You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once this is set up, errors - both handled and unhandled - will be automatically routed to the right project.
129
131
130
-
131
132
## Manually Route Errors to Different Projects
132
133
133
134
If, however, you would like to have more control over the routing of errors to the point
134
135
where you explicitly specify the destination for each individual `captureException`,
135
136
you can do that with the more advanced interface multiplexed transport offers.
136
137
137
-
<Note>
138
-
Requires SDK version `7.59.0` or higher.
139
-
</Note>
138
+
<Note>Requires SDK version `7.59.0` or higher.</Note>
140
139
141
140
The example below uses a `feature` tag to determine which Sentry project to
142
141
send the event to. If the event does not have a `feature` tag, we send it to the
@@ -180,7 +179,13 @@ init({
180
179
You can then set tags/contexts on events in individual micro-frontends to decide which Sentry project to send the event to as follows:
181
180
182
181
<Note>
183
-
It is important to always use a local scope when setting the tag (either as shown below or using <PlatformLink to="/enriching-events/scopes/#local-scopes">withScope documentation</PlatformLink>). Using a global scope e.g. through `Sentry.setTag()` will result in all subsequent events being routed to the same DSN regardless of where they originate.
182
+
It is important to always use a local scope when setting the tag (either as
0 commit comments