From a4568f03781ac21e61483ce0c40f836cae5289ca Mon Sep 17 00:00:00 2001 From: tammy-baylis-swi Date: Wed, 2 Jul 2025 15:27:58 -0700 Subject: [PATCH 1/2] Remove load_instrumentor try-except and log --- solarwinds_apm/distro.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/solarwinds_apm/distro.py b/solarwinds_apm/distro.py index 68a728a2f..95c00e8a6 100644 --- a/solarwinds_apm/distro.py +++ b/solarwinds_apm/distro.py @@ -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: From 7db25a33288d2544d1fc67ac9ac4a52eedfd40dd Mon Sep 17 00:00:00 2001 From: tammy-baylis-swi Date: Wed, 2 Jul 2025 15:28:14 -0700 Subject: [PATCH 2/2] Testrelease 4.2.0.0 --- solarwinds_apm/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solarwinds_apm/version.py b/solarwinds_apm/version.py index 703970876..65492a6bd 100644 --- a/solarwinds_apm/version.py +++ b/solarwinds_apm/version.py @@ -1 +1 @@ -__version__ = "4.1.0" +__version__ = "4.2.0.0"