Skip to content

Commit bd81753

Browse files
committed
make pylint happy
1 parent 9b7bd1a commit bd81753

File tree

1 file changed

+5
-5
lines changed
  • packages/service-library/src/servicelib/aiohttp

1 file changed

+5
-5
lines changed

packages/service-library/src/servicelib/aiohttp/tracing.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,27 +150,27 @@ def _shutdown() -> None:
150150
"""Uninstruments all opentelemetry instrumentors that were instrumented."""
151151
try:
152152
AioHttpClientInstrumentor().uninstrument()
153-
except Exception:
153+
except Exception: # pylint:disable=broad-exception-caught
154154
_logger.exception("Failed to uninstrument AioHttpClientInstrumentor")
155155
if HAS_AIOPG:
156156
try:
157157
AiopgInstrumentor().uninstrument()
158-
except Exception:
158+
except Exception: # pylint:disable=broad-exception-caught
159159
_logger.exception("Failed to uninstrument AiopgInstrumentor")
160160
if HAS_BOTOCORE:
161161
try:
162162
BotocoreInstrumentor().uninstrument()
163-
except Exception:
163+
except Exception: # pylint:disable=broad-exception-caught
164164
_logger.exception("Failed to uninstrument BotocoreInstrumentor")
165165
if HAS_REQUESTS:
166166
try:
167167
RequestsInstrumentor().uninstrument()
168-
except Exception:
168+
except Exception: # pylint:disable=broad-exception-caught
169169
_logger.exception("Failed to uninstrument RequestsInstrumentor")
170170
if HAS_AIO_PIKA:
171171
try:
172172
AioPikaInstrumentor().uninstrument()
173-
except Exception:
173+
except Exception: # pylint:disable=broad-exception-caught
174174
_logger.exception("Failed to uninstrument AioPikaInstrumentor")
175175

176176

0 commit comments

Comments
 (0)