forage-js-sdk
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "forage-js-sdk", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -108,4 +108,6 @@ "use strict"; | ||
.catch(function (err) { | ||
// we use .log instead of warn/error here | ||
// to avoid reporting noisy alerts to Sentry | ||
// eslint-disable-next-line no-console | ||
console.error('Failed to initialize iframe', err); | ||
console.log('Failed to initialize iframe', err); | ||
}) | ||
@@ -112,0 +114,0 @@ .finally(function () { |
@@ -95,6 +95,5 @@ "use strict"; | ||
timeout = setTimeout(function () { | ||
// We use the `console.error` function instead of `console.warn` because we want to | ||
// make sure that we get notified of these errors in Sentry. | ||
// we use .log instead of warn/error here to avoid reporting noisy alerts to Sentry | ||
// eslint-disable-next-line no-console | ||
console.error("Timeout warning: ".concat(event, " is taking longer than ").concat(deadlineMs / 1000, "s")); | ||
console.log("Timeout warning: ".concat(event, " is taking longer than ").concat(deadlineMs / 1000, "s")); | ||
}, deadlineMs); | ||
@@ -101,0 +100,0 @@ return [2 /*return*/, new Promise(function (res, rej) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
157908
2460