Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Throw error when can not terminate che task
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
  • Loading branch information
RomanNikitenko committed Oct 8, 2019
1 parent 3aaa386 commit 03f218b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
Expand Down

0 comments on commit 03f218b

Please sign in to comment.