Skip to content

Commit 3621287

Browse files
authored
Fix save raw call (#4686)
1 parent 111f686 commit 3621287

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

boefjes/boefjes/job_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def handle(self, task: Task) -> tuple[BoefjeMeta, BoefjeOutput] | None | Literal
6565
if task.status == TaskStatus.RUNNING:
6666
boefje_meta.ended_at = datetime.now(timezone.utc)
6767
self.bytes_api_client.save_boefje_meta(boefje_meta) # The task didn't create a boefje_meta object
68-
self.bytes_api_client.save_raws(task_id, container_logs, stderr_mime_types.union({"error/boefje"}))
68+
self.bytes_api_client.save_raw(task_id, container_logs, stderr_mime_types.union({"error/boefje"}))
6969
self.scheduler_client.patch_task(task_id, TaskStatus.FAILED)
7070

7171
# have to raise exception to prevent _start_working function from setting status to completed

0 commit comments

Comments
 (0)