Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicohrubec committed Aug 26, 2024
1 parent e6e0016 commit abe41f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform-includes/getting-started-use/javascript.nestjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function bootstrap() {
bootstrap();
```

Afterwards, add the SentryModule as a root module to your main module:
Afterwards, add the `SentryModule` as a root module to your main module:

```javascript {filename: app.module.ts} {2, 8}
import { Module } from '@nestjs/common';
Expand All @@ -34,8 +34,8 @@ export class AppModule {}
```

In case you are using a global catch-all exception filter (which is either a filter registered with
app.useGlobalFilters() or a filter registered in your app module providers annotated with an empty @Catch() decorator),
add a @WithSentry() decorator to the catch() method of this global error filter. This decorator will report all
`app.useGlobalFilters()` or a filter registered in your app module providers annotated with an empty `@Catch()` decorator),
add a `@WithSentry()` decorator to the `catch()` method of this global error filter. This decorator will report all
unexpected errors that are received by your global error filter to Sentry:

```javascript {2, 6}
Expand Down

0 comments on commit abe41f5

Please sign in to comment.