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 <[email protected]>
  • Loading branch information
RomanNikitenko committed Oct 7, 2019
1 parent cc24872 commit eacd2d2
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 eacd2d2

Please sign in to comment.