Skip to content

Commit d7e787e

Browse files
committed
Update Angular 2 install docs to reflect latest API
1 parent ea58d7f commit d7e787e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/integrations/angular2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Then, in your main module file (where ``@NgModule`` is called, e.g. app.module.t
6969
7070
export class RavenErrorHandler implements ErrorHandler {
7171
handleError(err:any) : void {
72-
Raven.captureException(err.originalError);
72+
Raven.captureException(err);
7373
}
7474
}
7575

0 commit comments

Comments
 (0)