Skip to content

Commit 8954cd2

Browse files
authored
Note about calling Sentry.init() only once
1 parent 4511e1e commit 8954cd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/platforms/javascript/common/configuration/micro-frontend-support.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
If your frontend includes JavaScript bundles from multiple sources with
1515
different release cycles, you may want to identify these or route events to specific projects. This is especially useful if you've set up [module federation](https://module-federation.github.io/) or a similar frontend architecture.
1616

17+
Below we offer two approaches. Please note that `Sentry.init()` must be called only once, doing otherwise will result in undefined behavior.
18+
1719
## Automatically Route Errors to Different Projects Depending on Module
1820

1921
`ModuleMetadata` and `makeMultiplexedTransport` can be used together to automatically route

0 commit comments

Comments
 (0)