Skip to content

Commit 352fc65

Browse files
inventarSarahLms24
andauthored
Update platform-includes/getting-started-use/javascript.nestjs.mdx
Co-authored-by: Lukas Stracke <[email protected]>
1 parent bb448d1 commit 352fc65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform-includes/getting-started-use/javascript.nestjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class ExceptionFilter implements RpcExceptionFilter<RpcException> {
103103

104104
If you have error filters for specific types of exceptions (for example `@Catch(HttpException)`, or any other `@Catch(...)` with arguments) and you want to capture errors caught by these filters, capture the errors in the `catch()` handler with `Sentry.captureException()`:
105105

106-
```javascript {4-9}
106+
```javascript {4,9}
107107
import { ArgumentsHost, BadRequestException, Catch } from '@nestjs/common';
108108
import { BaseExceptionFilter } from '@nestjs/core';
109109
import { ExampleException } from './example.exception';

0 commit comments

Comments
 (0)