Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hackagent/router/tracking/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ def _add_trace(
content=sanitized_content,
elapsed_s=trace_record["elapsed_s"],
)
self._record_failure(f"Goal {ctx.goal_index}: create trace", e)

# Send to backend if enabled and we have a result_id
if not self.is_enabled or not ctx.result_id:
Expand Down Expand Up @@ -523,6 +522,7 @@ def _add_trace(
f"Exception creating trace for goal {ctx.goal_index}: {e}",
exc_info=True,
)
self._record_failure(f"Goal {ctx.goal_index}: create trace", e)

return None

Expand Down
Loading