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 + 17db918 commit e3e14d9Copy full SHA for e3e14d9
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "instabug-reactnative",
3
- "version": "8.2.6",
+ "version": "8.2.7",
4
"description": "React Native plugin for integrating the Instabug SDK",
5
"main": "index.js",
6
"types": "index.d.ts",
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