File tree 3 files changed +3
-1
lines changed
3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ export class FetchTransport extends BaseTransport {
163
163
} ) ,
164
164
)
165
165
. then ( undefined , reason => {
166
+ // It's either buffer rejection or any other xhr/fetch error, which are treated as NetworkError.
166
167
if ( reason instanceof SentryError ) {
167
168
this . recordLostEvent ( Outcome . QueueOverflow , sentryRequest . type ) ;
168
169
} else {
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ export class XHRTransport extends BaseTransport {
64
64
} ) ,
65
65
)
66
66
. then ( undefined , reason => {
67
+ // It's either buffer rejection or any other xhr/fetch error, which are treated as NetworkError.
67
68
if ( reason instanceof SentryError ) {
68
69
this . recordLostEvent ( Outcome . QueueOverflow , sentryRequest . type ) ;
69
70
} else {
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export interface TransportOptions {
65
65
fetchParameters ?: { [ key : string ] : string } ;
66
66
/** The envelope tunnel to use. */
67
67
tunnel ?: string ;
68
- /** Automatically send SDK Client Report */
68
+ /** Send SDK Client Reports. Enabled by default. */
69
69
sendClientReports ?: boolean ;
70
70
/**
71
71
* Set of metadata about the SDK that can be internally used to enhance envelopes and events,
You can’t perform that action at this time.
0 commit comments