From c626c3171d87a13e0075810cd4a05674ec1c745b Mon Sep 17 00:00:00 2001 From: tammy-baylis-swi Date: Mon, 5 Oct 2026 14:52:10 -0700 Subject: [PATCH] Rename pylint disable --- solarwinds_apm/uams.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/solarwinds_apm/uams.py b/solarwinds_apm/uams.py index fce3994b2..284ddc996 100644 --- a/solarwinds_apm/uams.py +++ b/solarwinds_apm/uams.py @@ -48,8 +48,7 @@ def _read_from_file(uams_file: str) -> dict: ATTR_UAMS_CLIENT_ID: uams_id, ResourceAttributes.HOST_ID: uams_id, } - # pylint: disable=broad-except - except Exception as error: + except Exception as error: # pylint: disable=broad-exception-caught logger.debug("file error", exc_info=error) return {} @@ -76,8 +75,7 @@ def _read_from_api() -> dict: ATTR_UAMS_CLIENT_ID: id, ResourceAttributes.HOST_ID: id, } - # pylint: disable=broad-except - except Exception as error: + except Exception as error: # pylint: disable=broad-exception-caught logger.debug("api response error", exc_info=error) return {}