feat: 完成任务列表功能

This commit is contained in:
Junyan Qin
2024-11-03 23:22:33 +08:00
parent 709b86b724
commit db02d9c126
4 changed files with 75 additions and 6 deletions

View File

@@ -137,6 +137,8 @@ class TaskWrapper:
for frame in self.task_stack:
exception_traceback += f" File \"{frame.f_code.co_filename}\", line {frame.f_lineno}, in {frame.f_code.co_name}\n"
exception_traceback += f" {self.assume_exception().__str__()}\n"
return {
"id": self.id,
"task_type": self.task_type,