Skip to content

Commit

Permalink
docs: Update Sourcemaps RewriteFrame integration for Node (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek authored Jul 12, 2019
1 parent 2f2d68d commit 7502724
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/collections/_documentation/platforms/node/sourcemaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,11 @@ Additional information can be found in the [Releases API documentation]({%- link
For Sentry to understand how to resolve errors sources, we need to modify the data we send. Thankfully, we have an integration called `RewriteFrames` which can be used to do just that.

```javascript
import { RewriteFrames } from '@sentry/integrations';

Sentry.init({
dsn: '___PUBLIC_DSN___',
integrations: [new Sentry.Integrations.RewriteFrames()]
integrations: [new RewriteFrames()]
});
```

Expand Down

0 comments on commit 7502724

Please sign in to comment.