diff --git a/extensions/eclipse-che-theia-plugin-ext/src/plugin/che-task-impl.ts b/extensions/eclipse-che-theia-plugin-ext/src/plugin/che-task-impl.ts index ad3cdbc142..0d6e60d547 100644 --- a/extensions/eclipse-che-theia-plugin-ext/src/plugin/che-task-impl.ts +++ b/extensions/eclipse-che-theia-plugin-ext/src/plugin/che-task-impl.ts @@ -41,6 +41,7 @@ export class CheTaskImpl implements CheTask { if (runner) { return await runner.kill(taskInfo); } + throw new Error(`Failed to terminate Che command: ${taskInfo.config.label}: the corresponging executor is not found`); } async fireTaskExited(event: TaskExitedEvent): Promise {