From 2fbd152c5320a16bbac77fa52497f10f1dbb32d3 Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Wed, 27 Mar 2019 17:42:10 -0400 Subject: [PATCH] Make loadExtensionURL consistent with error handling logic in loadExtensionIdSync --- src/extension-support/extension-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension-support/extension-manager.js b/src/extension-support/extension-manager.js index 341f2461c..e28277efb 100644 --- a/src/extension-support/extension-manager.js +++ b/src/extension-support/extension-manager.js @@ -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]();