Fixed #58941: Tasks: non-helpful error message ´The process task system can only execute custom tasks´
This commit is contained in:
parent
bc71b0cf01
commit
45986ca7ab
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ export class ProcessTaskSystem implements ITaskSystem {
|
|||
|
||||
private executeTask(task: Task, trigger: string = Triggers.command): ITaskExecuteResult {
|
||||
if (!CustomTask.is(task)) {
|
||||
throw new Error('The process task system can only execute custom tasks.');
|
||||
throw new Error(nls.localize('version1_0', 'The task system is configured for version 0.1.0 (see tasks.json file), which can only execute cumstom tasks. Upgrade to version 2.0.0 to run the task: {0}', task._label));
|
||||
}
|
||||
let telemetryEvent: TelemetryEvent = {
|
||||
trigger: trigger,
|
||||
|
|
Loading…
Reference in a new issue