Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Jul 15, 2024
1 parent a6bcebb commit b10d9fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@ Sentry.init({
// ...
});
```

You need to require or import the `instrument.js` file before importing any other modules in your application. This is
necessary to ensure that Sentry can automatically instrument all modules in your application:

```js
// Import this first!
import "./instrument";
import './instrument';

// Now import other modules
import http from "http";
import http from 'http';

// Your application code goes here
```
Expand Down

0 comments on commit b10d9fc

Please sign in to comment.