File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/browser/src/integrations Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ function _fetchResponseHandler(
93
93
requestCookies,
94
94
responseCookies,
95
95
error,
96
+ type : 'fetch' ,
96
97
} ) ;
97
98
98
99
captureEvent ( event ) ;
@@ -165,6 +166,7 @@ function _xhrResponseHandler(
165
166
responseHeaders,
166
167
responseCookies,
167
168
error,
169
+ type : 'xhr' ,
168
170
} ) ;
169
171
170
172
captureEvent ( event ) ;
@@ -362,6 +364,7 @@ function _createEvent(data: {
362
364
url : string ;
363
365
method : string ;
364
366
status : number ;
367
+ type : 'fetch' | 'xhr' ;
365
368
responseHeaders ?: Record < string , string > ;
366
369
responseCookies ?: Record < string , string > ;
367
370
requestHeaders ?: Record < string , string > ;
@@ -402,7 +405,7 @@ function _createEvent(data: {
402
405
} ;
403
406
404
407
addExceptionMechanism ( event , {
405
- type : ' http.client' ,
408
+ type : ` http.client. ${ data . type } ` ,
406
409
handled : false ,
407
410
} ) ;
408
411
You can’t perform that action at this time.
0 commit comments