Skip to content

Commit c4d8763

Browse files
authored
Fix minor issues in exporter docstrings (#1272)
1 parent 7a4c024 commit c4d8763

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agents/tracing/processors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ConsoleSpanExporter(TracingExporter):
2222
def export(self, items: list[Trace | Span[Any]]) -> None:
2323
for item in items:
2424
if isinstance(item, Trace):
25-
print(f"[Exporter] Export trace_id={item.trace_id}, name={item.name}, ")
25+
print(f"[Exporter] Export trace_id={item.trace_id}, name={item.name}")
2626
else:
2727
print(f"[Exporter] Export span: {item.export()}")
2828

@@ -121,7 +121,7 @@ def export(self, items: list[Trace | Span[Any]]) -> None:
121121
logger.debug(f"Exported {len(items)} items")
122122
return
123123

124-
# If the response is a client error (4xx), we wont retry
124+
# If the response is a client error (4xx), we won't retry
125125
if 400 <= response.status_code < 500:
126126
logger.error(
127127
f"[non-fatal] Tracing client error {response.status_code}: {response.text}"

0 commit comments

Comments
 (0)