Skip to content

Commit 24e669e

Browse files
authored
Update exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/_log_exporter/__init__.py
1 parent 82bf92f commit 24e669e

File tree

1 file changed

+1
-1
lines changed
  • exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/_log_exporter

1 file changed

+1
-1
lines changed

exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/_log_exporter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def export(
193193
if resp.ok:
194194
return LogRecordExportResult.SUCCESS
195195
except requests.exceptions.RequestException as error:
196-
reason = str(error)
196+
reason = error
197197
retryable = isinstance(error, ConnectionError)
198198
status_code = None
199199
else:

0 commit comments

Comments
 (0)