Adding folder name to error message when auto detecting tasks

This commit is contained in:
Dirk Baeumer
2017-09-25 17:17:51 +02:00
parent 243ccb42de
commit 0a27975c25
3 changed files with 4 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ class FolderDetector {
if (err.stdout) {
channel.appendLine(err.stdout);
}
channel.appendLine(localize('execFailed', 'Auto detecting Grunt failed with error: {0}', err.error ? err.error.toString() : 'unknown'));
channel.appendLine(localize('execFailed', 'Auto detecting Grunt for folder {0} failed with error: {1}', this.workspaceFolder.name, err.error ? err.error.toString() : 'unknown'));
channel.show(true);
return emptyTasks;
}