We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d9977 commit 342014bCopy full SHA for 342014b
opentelemetry-instrumentation/src/opentelemetry/instrumentation/auto_instrumentation/__init__.py
@@ -135,7 +135,7 @@ def initialize(*, swallow_exceptions=True):
135
distro.configure()
136
_load_configurators()
137
_load_instrumentors(distro)
138
- except Exception as e: # pylint: disable=broad-except
+ except Exception as exc: # pylint: disable=broad-except
139
_logger.exception("Failed to auto initialize OpenTelemetry")
140
if not swallow_exceptions:
141
- raise ValueError("Failed to auto initialize OpenTelemetry") from e
+ raise ValueError("Failed to auto initialize OpenTelemetry") from exc
0 commit comments