Skip to content

Commit 5dc8063

Browse files
authored
Update error-handler.mdx (#14434)
In Multiple Error Handlers section, update the code block snippet. Replace Sentry.ErrorHandler with Sentry.SentryErrorHandler.
1 parent 42a2950 commit 5dc8063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/platforms/javascript/guides/angular/features/error-handler.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Therefore, if you're using your own error handler or you want to add additional
6767
```typescript
6868
import * as Sentry from "@sentry/angular";
6969

70-
export class CustomErrorHandler extends Sentry.ErrorHandler {
70+
export class CustomErrorHandler extends Sentry.SentryErrorHandler {
7171
constructor() {
7272
// Pass options to Sentry's ErrorHandler here. For Example:
7373
super({ logErrors: false });

0 commit comments

Comments
 (0)