File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 10
10
` 7 ` lines pre/post
11
11
- [ core] : ref: Change way how transports are initialized
12
12
- [ core] : ref: Rename ` RequestBuffer ` to ` PromiseBuffer ` , also introduce limit
13
+ - [ browser] fix: Prevent empty exception values
13
14
14
15
## 4.4.2
15
16
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ export function prepareFramesForEvent(stack: TraceKitStackFrame[]): StackFrame[]
101
101
export function addExceptionTypeValue ( event : SentryEvent , message : string ) : void {
102
102
event . exception = event . exception || { } ;
103
103
event . exception . values = event . exception . values || [ ] ;
104
+ event . exception . values [ 0 ] = event . exception . values [ 0 ] || { } ;
104
105
event . exception . values [ 0 ] . value = event . exception . values [ 0 ] . value || message ;
105
106
event . exception . values [ 0 ] . type = event . exception . values [ 0 ] . type || 'Error' ;
106
107
}
You can’t perform that action at this time.
0 commit comments