Skip to content

Commit 235fafc

Browse files
committed
update global filter
1 parent 30caea5 commit 235fafc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ export class YourCatchAllExceptionFilter implements ExceptionFilter {
5151
}
5252
```
5353

54-
In case you do not have a global catch-all exception filter, add the `SentryGlobalFilter` to the providers of your main
54+
In case you do not have a global catch-all exception filter, add the `SentryGlobalGenericFilter` to the providers of your main
5555
module. This filter will report all unhandled errors to Sentry that are not caught by any other error filter.
56-
**Important:** The `SentryGlobalFilter` needs to be registered before any other exception filters.
56+
**Important:** The `SentryGlobalGenericFilter` needs to be registered before any other exception filters.
5757

5858
```javascript {filename: app.module.ts} {3, 9}
5959
import { Module } from '@nestjs/common';

0 commit comments

Comments
 (0)