diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index fc359e6ac..f25d63ae8 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -225,7 +225,12 @@ function initExtension(uuid) { let extensionState = null; ExtensionUtils.installImporter(extension); - extensionModule = extension.imports.extension; + try { + extensionModule = extension.imports.extension; + } catch(e) { + logExtensionError(uuid, e); + return false; + } if (extensionModule.init) { try {