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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;