Now throwing errors

This commit is contained in:
2020-12-09 18:59:01 +01:00
parent af1ad482d4
commit 77b769446f
7 changed files with 7 additions and 11 deletions

View File

@@ -35,11 +35,7 @@ export class CreateRunnerTeam extends CreateRunnerGroup {
let newRunnerTeam: RunnerTeam = new RunnerTeam();
newRunnerTeam.name = this.name;
try {
newRunnerTeam.parentGroup = await this.getParent();
} catch (error) {
throw error;
}
newRunnerTeam.parentGroup = await this.getParent();
newRunnerTeam.contact = await this.getContact()