Log extensionLocation not location in error message of getCustomBuiltinExtensionsFromLocations (#200748)

Log extensionLocation not location in error message of getCustomBuiltinExtensionsFromLocations
This commit is contained in:
Anthony Stewart 2024-01-08 09:14:01 +01:00 committed by GitHub
parent 99e16e6621
commit 0a90cb8a06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -239,7 +239,7 @@ export class WebExtensionsScannerService extends Disposable implements IWebExten
this.logService.info(`Skipping invalid additional builtin extension ${webExtension.identifier.id}`);
}
} catch (error) {
this.logService.info(`Error while fetching the additional builtin extension ${location.toString()}.`, getErrorMessage(error));
this.logService.info(`Error while fetching the additional builtin extension ${extensionLocation.toString()}.`, getErrorMessage(error));
}
}));
return result;