We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa592ef commit 4e172cdCopy full SHA for 4e172cd
extensions/git/src/main.ts
@@ -66,7 +66,13 @@ export function activate(context: ExtensionContext): any {
66
context.subscriptions.push(new Disposable(() => Disposable.from(...disposables).dispose()));
67
68
init(context, disposables)
69
- .catch(err => console.error(err));
+ .catch(err => {
70
+ if (/Git installation not found/.test(err.message || '')) {
71
+ console.warn(localize('notfound', "Git not found. You can configure its location with the `git.path` configuration setting."));
72
+ } else {
73
+ console.error(err);
74
+ }
75
+ });
76
}
77
78
async function checkGitVersion(info: IGit): Promise<void> {
0 commit comments