mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
A recorded batch failure carries structured details onto the sub_task outputs 🟩
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
8a3c0f3e77
commit
c64bd8fd85
1 changed files with 2 additions and 0 deletions
|
|
@ -69,3 +69,5 @@ class SubTask:
|
|||
self.status = SubTaskStatus.FAILED
|
||||
self.job_completed = datetime.now(timezone.utc)
|
||||
self.outputs = {"error": str(error)}
|
||||
if isinstance(error, SubTaskFailure) and error.details is not None:
|
||||
self.outputs.update(error.details)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue