We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fc76dd commit 1912867Copy full SHA for 1912867
packages/angular/src/errorhandler.ts
@@ -109,7 +109,7 @@ class SentryErrorHandler implements AngularErrorHandler {
109
}
110
111
// ... or an`ErrorEvent`, which can provide us with the message but no stack...
112
- if (error.error instanceof ErrorEvent) {
+ if (error.error instanceof ErrorEvent && error.error.message) {
113
return error.error.message;
114
115
0 commit comments