Skip to content

Commit 2bb6b5b

Browse files
fix: Fix syntax error in fallback when tracking xhr readyState (#1272)
1 parent 560a957 commit 2bb6b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/ajax/instrument/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ function subscribeToEvents (agentRef, ee, handler, dt) {
374374
if (hasUndefinedHostname(params)) return // don't bother with XHR of url with no hostname
375375

376376
metrics.duration = now() - this.startTime
377-
if (!this.loadCazptureCalled && xhr.readyState === 4) {
377+
if (!this.loadCaptureCalled && xhr.readyState === 4) {
378378
captureXhrData(this, xhr)
379379
} else if (params.status == null) {
380380
params.status = 0

0 commit comments

Comments
 (0)