Now throwing errors
This commit is contained in:
@@ -53,7 +53,7 @@ export class RunnerTeamController {
|
||||
try {
|
||||
runnerTeam = await createRunnerTeam.toRunnerTeam();
|
||||
} catch (error) {
|
||||
return error;
|
||||
throw error;
|
||||
}
|
||||
|
||||
runnerTeam = await this.runnerTeamRepository.save(runnerTeam);
|
||||
|
||||
Reference in New Issue
Block a user