Skip to content

Commit

Permalink
Update Sentry transport require change (#1754)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang699 authored and DABH committed Jan 27, 2020
1 parent 7b67eb0 commit 73ae01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/transports.md
Expand Up @@ -697,7 +697,7 @@ This transport sends the logs to a Pusher app for real time processing and it us
[winston-transport-sentry-node][41] is a transport for [Sentry](https://sentry.io/) uses [@sentry/node](https://www.npmjs.com/package/@sentry/node).
```js
const Sentry = require('winston-transport-sentry-node');
const Sentry = require('winston-transport-sentry-node').default;
logger.add(new Sentry({
sentry: {
dsn: 'https://******@sentry.io/12345',
Expand Down

0 comments on commit 73ae01f

Please sign in to comment.