@osimatic/helpers-js 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/network.js +3 -0
- package/package.json +1 -1
package/network.js
CHANGED
|
@@ -36,6 +36,7 @@ class HTTPRequest {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
catch (e) {
|
|
39
|
+
console.log(e);
|
|
39
40
|
errorCallback(response, response.status, e);
|
|
40
41
|
return;
|
|
41
42
|
}
|
|
@@ -101,6 +102,7 @@ class HTTPRequest {
|
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
catch (e) {
|
|
105
|
+
console.log(e);
|
|
104
106
|
if (typeof errorCallback != 'undefined' && errorCallback != null) {
|
|
105
107
|
errorCallback(response, response.status, e);
|
|
106
108
|
}
|
|
@@ -170,6 +172,7 @@ class HTTPRequest {
|
|
|
170
172
|
}
|
|
171
173
|
}
|
|
172
174
|
catch (e) {
|
|
175
|
+
console.log(e);
|
|
173
176
|
errorCallback(response, response.status, e);
|
|
174
177
|
return;
|
|
175
178
|
}
|