Skip to content

Commit 2bcc259

Browse files
author
Luca Forstner
committed
reorder
1 parent 3d987f8 commit 2bcc259

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ export class YourCatchAllExceptionFilter implements ExceptionFilter {
4949
}
5050
```
5151

52+
By default, only unhandled exceptions that are not caught by an error filter are reported to Sentry.
53+
`HttpException`s (including [derivatives](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)) are also not captured by default because they mostly act as control flow vehicles.
54+
5255
{/* TODO(v9): Remove this note */}
5356
_Note that `@SentryExceptionCaptured()` was called `@WithSentry` in SDK versions `8.38.0` and prior._
5457

@@ -94,6 +97,3 @@ export class ExampleExceptionFilter extends BaseExceptionFilter {
9497
}
9598
}
9699
```
97-
98-
By default, only unhandled exceptions that are not caught by an error filter are reported to Sentry.
99-
`HttpException`s (including [derivatives](https://docs.nestjs.com/exception-filters#built-in-http-exceptions)) are also not captured by default because they mostly act as control flow vehicles.

0 commit comments

Comments
 (0)