You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/services/extensibility-service.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ export class ExtensibilityService implements IExtensibilityService {
84
84
return{ extensionName };
85
85
}catch(error){
86
86
this.$logger.warn(`Error while loading ${extensionName} is: ${error.message}`);
87
-
consterr=<IExtensionLoadingError>newError(`Unable to load extension ${extensionName}. You will not be able to use the functionality that it adds.`);
87
+
consterr=<IExtensionLoadingError>newError(`Unable to load extension ${extensionName}. You will not be able to use the functionality that it adds. Error: ${error.message}`);
expectedResults[0]=newError("Unable to load extension extension1. You will not be able to use the functionality that it adds.");
241
+
expectedResults[0]=newError("Unable to load extension extension1. You will not be able to use the functionality that it adds. Error: Unable to load module.");
awaitloadExtensionPromise.then(res=>{thrownewError("Shouldn't get here!");},
284
285
err=>{
285
286
constextensionName=extensionNames[index];
286
-
assert.deepEqual(err.message,`Unable to load extension ${extensionName}. You will not be able to use the functionality that it adds.`);
287
+
assert.deepEqual(err.message,`Unable to load extension ${extensionName}. You will not be able to use the functionality that it adds. Error: ${expectedErrorMessage}`);
console.log("######### res = ",res);thrownewError("Shouldn't get here!");
335
+
thrownewError("Shouldn't get here!");
331
336
},
337
+
332
338
err=>{
333
339
constextensionName=extensionNames[index];
334
-
assert.deepEqual(err.message,`Unable to load extension ${extensionName}. You will not be able to use the functionality that it adds.`);
340
+
assert.deepEqual(err.message,`Unable to load extension ${extensionName}. You will not be able to use the functionality that it adds. Error: ${expectedErrorMessages[index]}`);
assert.deepEqual(err.message,`Unable to load extension ${extensionName}. You will not be able to use the functionality that it adds.`);
613
+
assert.deepEqual(err.message,`Unable to load extension ${extensionName}. You will not be able to use the functionality that it adds. Error: ${expectedErrorMessage}`);
0 commit comments