Merge pull request #3282 from kleesc/handle-missing-build-phase-case
Build phase message: add missing case
This commit is contained in:
commit
3cd6a4ae84
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ export class BuildServiceImpl implements BuildService {
|
|||
message = 'This build was previously cancelled.';
|
||||
break;
|
||||
|
||||
case 'incomplete':
|
||||
message = 'This build was not completed.';
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new Error(`Invalid build phase: ${phase.toString()}`);
|
||||
}
|
||||
|
|
Reference in a new issue