Skip to content

Commit 7aa4bda

Browse files
Update opentelemetry-sdk/src/opentelemetry/sdk/_shared_internal/__init__.py
Co-authored-by: Emídio Neto <[email protected]>
1 parent 656fba2 commit 7aa4bda

File tree

1 file changed

+1
-0
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/_shared_internal

1 file changed

+1
-0
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/_shared_internal/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def _export(self, batch_strategy: BatchExportStrategy) -> None:
169169

170170
# Do not add any logging.log statements to this function, they can be being routed back to this `emit` function,
171171
# resulting in endless recursive calls that crash the program.
172+
# See https://github.com/open-telemetry/opentelemetry-python/issues/4261
172173
def emit(self, data: Telemetry) -> None:
173174
if self._shutdown:
174175
return

0 commit comments

Comments
 (0)