diff --git a/backend/api/tasks/extra_check.py b/backend/api/tasks/extra_check.py index 40a2f14f..0c3541ad 100644 --- a/backend/api/tasks/extra_check.py +++ b/backend/api/tasks/extra_check.py @@ -95,6 +95,7 @@ def task_extra_check_start(extra_check_result: ExtraCheckResult): logs = "" try: logs = cast(str, container.logs(stream=False, timestamps=False)) + container.remove(v=False) except docker.errors.APIError: logs = "Could not retrieve logs" finally: