bruce-models 1.0.8 → 1.0.9
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/dist/bruce-models.umd.js
CHANGED
|
@@ -1874,7 +1874,7 @@
|
|
|
1874
1874
|
let suppress = false;
|
|
1875
1875
|
if (e && typeof e == "object") {
|
|
1876
1876
|
const msg = e.message;
|
|
1877
|
-
suppress = !!msg && msg.includes("Unexpected end");
|
|
1877
|
+
suppress = !!msg && (msg.includes("Unexpected end") || msg.includes("got end of script"));
|
|
1878
1878
|
}
|
|
1879
1879
|
if (!suppress) {
|
|
1880
1880
|
console.error(e);
|