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 4ce3845 commit 0b65c57Copy full SHA for 0b65c57
packages/utils/src/instrument/xhr.ts
@@ -46,7 +46,7 @@ export function instrumentXHR(): void {
46
const url = parseUrl(args[1]);
47
48
if (!method || !url) {
49
- return;
+ return originalOpen.apply(this, args);
50
}
51
52
this[SENTRY_XHR_DATA_KEY] = {
@@ -124,7 +124,7 @@ export function instrumentXHR(): void {
124
const sentryXhrData = this[SENTRY_XHR_DATA_KEY];
125
126
if (!sentryXhrData) {
127
+ return originalSend.apply(this, args);
128
129
130
if (args[0] !== undefined) {
0 commit comments