mirror of
https://github.com/strapi/strapi.git
synced 2025-11-13 00:29:51 +00:00
Add new line
This commit is contained in:
parent
f213ed8a6a
commit
696b5cd9dd
@ -28,7 +28,9 @@ module.exports = strapi => {
|
|||||||
|
|
||||||
## Handle errors
|
## Handle errors
|
||||||
|
|
||||||
Here is the [Node.js client documentation](https://docs.sentry.io/platforms/node/). Install it with `yarn add @sentry/node` or `npm install @sentry/node --save`.
|
Here is the [Node.js client documentation](https://docs.sentry.io/platforms/node/).
|
||||||
|
|
||||||
|
Install it with `yarn add @sentry/node` or `npm install @sentry/node --save`.
|
||||||
|
|
||||||
- Now add the logic that will catch errors.
|
- Now add the logic that will catch errors.
|
||||||
|
|
||||||
@ -38,7 +40,7 @@ Here is the [Node.js client documentation](https://docs.sentry.io/platforms/node
|
|||||||
const Sentry = require('@sentry/node');
|
const Sentry = require('@sentry/node');
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: 'https://<key>@sentry.io/<project>',
|
dsn: 'https://<key>@sentry.io/<project>',
|
||||||
environment: strapi.config.environment
|
environment: strapi.config.environment,
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = strapi => {
|
module.exports = strapi => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user