xpe 1.0.2 → 1.0.3
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/kernel/entry.js +1 -2
- package/package.json +1 -1
package/dist/kernel/entry.js
CHANGED
|
@@ -191,8 +191,7 @@ export default function importHTML(params) {
|
|
|
191
191
|
.then((response) => {
|
|
192
192
|
if (response.status >= 400) {
|
|
193
193
|
error(XPE_TIPS_HTML_ERROR_REQUESTED, { url, response });
|
|
194
|
-
|
|
195
|
-
return "";
|
|
194
|
+
throw new Error(XPE_TIPS_HTML_ERROR_REQUESTED);
|
|
196
195
|
}
|
|
197
196
|
return response.text();
|
|
198
197
|
})
|