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.
2 parents 4a17a2a + 5a298a1 commit 39717bcCopy full SHA for 39717bc
utils/XhrNetworkInterceptor.js
@@ -81,7 +81,11 @@ const XHRInterceptor = {
81
}
82
if (this.readyState === this.DONE) {
83
duration = (Date.now() - duration);
84
- network.responseCode = this.status;
+ if (this.status == null) {
85
+ network.responseCode = 0;
86
+ } else {
87
+ network.responseCode = this.status;
88
+ }
89
network.duration = duration;
90
91
if (this.response) {
0 commit comments