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
feat(nextjs): Warn when client was initialized more than once (#15971)
With the addition on `instrumentation-client.ts` the likelihood of
`Sentry.init()` rose starkly so I figured it might be worth printing a
warning.
Resolvesgetsentry/sentry-wizard#930
'[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.',
0 commit comments