Make loadExtensionURL consistent with error handling logic in loadExtensionIdSync
This commit is contained in:
1 parent
eccdeff2ce
commit
2fbd152c53
1 file changed
+1
-1
@@ -147,7 +147,7 @@ class ExtensionManager {
|
||||
if (this.isExtensionLoaded(extensionURL)) {
|
||||
const message = `Rejecting attempt to load a second extension with ID ${extensionURL}`;
|
||||
log.warn(message);
|
||||
return Promise.reject(new Error(message));
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
const extension = builtinExtensions[extensionURL]();
|
||||
|
||||
Reference in new issue
Block a user