File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ import { ErrorHandler } from "@angular/core";
6767
6868declare function cwr(operation : string , payload : any ): void ;
6969
70- export class CwrErrorHandler implements ErrorHandler {
70+ export class RumErrorHandler implements ErrorHandler {
7171 handleError(error : any ) {
7272 cwr (' recordError' , error );
7373 }
@@ -79,7 +79,6 @@ export class CwrErrorHandler implements ErrorHandler {
7979` src/app/app.module.ts `
8080``` typescript
8181import { RumErrorHandler } from ' ./cwr-error-handler' ;
82-
8382@NgModule ({
8483 imports: [
8584 ...
@@ -93,10 +92,10 @@ import { RumErrorHandler } from './cwr-error-handler';
9392 providers: [
9493 {
9594 provide: ErrorHandler ,
96- useClass: CwrErrorHandler
95+ useClass: RumErrorHandler
9796 }
9897 ]
9998})
10099export class AppModule { }
101100
102- ```
101+ ```
You can’t perform that action at this time.
0 commit comments