Skip to content

Commit f9d2034

Browse files
committed
v6.6.3
1 parent e205c46 commit f9d2034

File tree

7 files changed

+13
-5
lines changed

7 files changed

+13
-5
lines changed

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "6.6.2",
3+
"version": "6.6.3",
44
"main": "build/index.js",
55
"scripts": {
66
"start": "webpack serve",

published/6.6.3/appwidget.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/6.6.3/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/6.6.3/index.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/latest/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/NetworkInterception.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,11 @@ class GleapNetworkIntercepter {
187187
responseText: "<request_still_open>",
188188
};
189189
this.calcRequestTime(bbRequestId);
190+
} catch (exp) {}
190191

191-
req.text().then((responseText) => {
192+
req
193+
.text()
194+
.then((responseText) => {
192195
this.requests[bbRequestId]["success"] = true;
193196
this.requests[bbRequestId]["response"] = {
194197
status: req.status,
@@ -201,8 +204,10 @@ class GleapNetworkIntercepter {
201204

202205
this.calcRequestTime(bbRequestId);
203206
this.cleanRequests();
207+
})
208+
.catch((err) => {
209+
this.cleanRequests();
204210
});
205-
} catch (exp) {}
206211
},
207212
onFetchFailed: (err, bbRequestId) => {
208213
if (

0 commit comments

Comments
 (0)