diff --git a/packages/backend/src/containers/containers.service.ts b/packages/backend/src/containers/containers.service.ts index bbe4095..e247570 100644 --- a/packages/backend/src/containers/containers.service.ts +++ b/packages/backend/src/containers/containers.service.ts @@ -219,10 +219,7 @@ export class ContainersService { await this.commandService.executeCommand(command); this.logger.log('info', `container deleted : ${stdoutData.trim()}`); - - if (stderrData) { - throw new Error(stderrData); - } + this.logger.log('info', `container deleted error : ${stderrData.trim()}`); } private buildDockerCommand(container: string, ...commands: string[]): string { diff --git a/packages/backend/src/quizzes/quizzes.controller.ts b/packages/backend/src/quizzes/quizzes.controller.ts index 600c6bb..90141d9 100644 --- a/packages/backend/src/quizzes/quizzes.controller.ts +++ b/packages/backend/src/quizzes/quizzes.controller.ts @@ -264,7 +264,7 @@ export class QuizzesController { return; } - await this.containerService.deleteContainer(containerId); + this.containerService.deleteContainer(containerId); await this.sessionService.deleteCommandHistory(sessionId, id); } catch (e) {