File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
+ - [ browser] fix: DOMError and DOMException should be error level events
5
6
- [ utils] ref: Update wrap method to hide internal sentry flags
6
7
- [ utils] fix: Make internal Sentry flags non-enumerable in fill util
7
8
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export class BrowserBackend extends BaseBackend<BrowserOptions> {
86
86
const name = ex . name || ( isDOMError ( ex ) ? 'DOMError' : 'DOMException' ) ;
87
87
const message = ex . message ? `${ name } : ${ ex . message } ` : name ;
88
88
89
- event = await this . eventFromMessage ( message , undefined , hint ) ;
89
+ event = await this . eventFromMessage ( message , Severity . Error , hint ) ;
90
90
addExceptionTypeValue ( event , message ) ;
91
91
} else if ( isError ( exception as Error ) ) {
92
92
// we have a real Error object, do nothing
You can’t perform that action at this time.
0 commit comments