Make loadExtensionURL consistent with error handling logic in loadExtensionIdSync

This commit is contained in:
Karishma Chadha committed 2019-03-27 17:42:10 -04:00
1 parent eccdeff2ce
commit 2fbd152c53
1 file changed
+1 -1
+1 -1
View File
@@ -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]();