Only add widgets that are executable (#1875)

closes #1874
This commit is contained in:
chee
2021-04-21 21:25:52 +01:00
committed by GitHub
parent 1a4f35470c
commit d9e8cff00f

View File

@@ -64,13 +64,12 @@ async function getWidgetBundlesByParent() {
try {
widget = await executeBundle(bundle);
widgetsByParent.add(widget);
}
catch (e) {
logError("Widget initialization failed: ", e);
continue;
}
widgetsByParent.add(widget);
}
return widgetsByParent;