log error message

上级 5f2f107c
......@@ -381,7 +381,7 @@ export class WebExtensionsScannerService extends Disposable implements IWebExten
]);
if (packageJSONResult.status === 'rejected') {
throw new Error(`Cannot find the package.json from the location '${extensionLocation.toString()}'`);
throw new Error(`Cannot find the package.json from the location '${extensionLocation.toString()}'. ${getErrorMessage(packageJSONResult.reason)}`);
}
const content = packageJSONResult.value;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册