Skip to content

Commit

Permalink
Update knex Node integration (#12223)
Browse files Browse the repository at this point in the history
Sentry.knexIntegration is not a constructor (only a void function can be called with the 'new' keyword).
  • Loading branch information
Neamar authored Jan 21, 2025
1 parent 9de8316 commit 2b7705b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The `knexIntegration` adds instrumentation for the `knex` library to capture spa

```javascript
Sentry.init({
integrations: [new Sentry.knexIntegration()],
integrations: [Sentry.knexIntegration()],
});
```

Expand Down

0 comments on commit 2b7705b

Please sign in to comment.