Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions solarwinds_apm/distro.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,7 @@ def load_instrumentor(self, entry_point: EntryPoint, **kwargs):
if self._instrumentor_metrics_enabled is False:
kwargs["meter_provider"] = self._meter_provider

try:
instrumentor: BaseInstrumentor = entry_point.load()
except Exception as ex: # pylint: disable=broad-except
logger.error(
"Could not load instrumentor %s: %s",
entry_point.name,
ex,
)
return
instrumentor: BaseInstrumentor = entry_point.load()
instrumentor().instrument(**kwargs)

def get_enable_commenter_env_map(self) -> dict:
Expand Down
2 changes: 1 addition & 1 deletion solarwinds_apm/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.1.0"
__version__ = "4.2.0.0"
Loading