NormalizePath

Normalises paths to the app root directory. (default)

Import name: Sentry.normalizePathsIntegration

This integration is enabled by default. If you'd like to modify your default integrations, read this.

Normalises paths to the app root directory so that error stack frames can be processed by Sentry.

Copied
Sentry.init({
  integrations: [Sentry.normalizePathsIntegration()],
});
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").