Skip to content

Commit 3383b96

Browse files
author
Andrei Bratu
committed
small bug
1 parent ce9ba26 commit 3383b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/humanloop/otel/exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,8 @@ def _mark_trace_complete_if_needed(self, trace_head_span_id: int):
374374
self._client.flows.update_log(log_id=flow_log_id, trace_status="complete")
375375

376376
def _keep_track_of_trace(self, log_id: str, parent_log_id: str):
377+
found = False
377378
for trace in self._traces:
378-
found = False
379379
if parent_log_id in trace:
380380
trace.add(log_id)
381381
found = True

0 commit comments

Comments
 (0)