Fix unbound variable in _run_kanban_agent error handler

This commit is contained in:
zumayaaustin-creator 2026-07-09 01:24:32 +00:00 committed by devin-ai-integration[bot]
parent 30d7366a31
commit b93c619551
1 changed files with 3 additions and 2 deletions

View File

@ -1074,8 +1074,9 @@ def _run_kanban_agent(task_id: str):
else:
task["status"] = "done"
task["summary"] = response[:300]
task["completed_at"] = get_timestamp()
append_audit({"action": "kanban_task_dispatch_completed", "task_id": task_id, "agent": agent})
try:
path = kanban_task_path(task_id)
task = json.loads(path.read_text())
task["updated"] = get_timestamp()
save_kanban_task(task)
except Exception as e: