We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12edef9 commit 4751ba7Copy full SHA for 4751ba7
opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
@@ -214,8 +214,11 @@ def create(
214
)
215
).load()()
216
217
- except:
218
- # TODO emit warning per failed detector?
+ except Exception as exc: # pylint: disable=broad-exception-caught
+ logger.exception(
219
+ "Failed to load resource detector %s, skipping",
220
+ entrypoint.name
221
+ )
222
continue
223
resource = get_aggregated_resources(
224
resource_detectors, _DEFAULT_RESOURCE
0 commit comments