File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/service-library/src/servicelib/aiohttp Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments