File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/service-library/src/servicelib/fastapi Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -154,32 +154,32 @@ def _shutdown() -> None:
154154 if HAS_AIOPG :
155155 try :
156156 AiopgInstrumentor ().uninstrument ()
157- except Exception :
157+ except Exception : # pylint:disable=bare-except
158158 _logger .exception ("Failed to uninstrument AiopgInstrumentor" )
159159 if HAS_AIOPIKA_INSTRUMENTOR :
160160 try :
161161 AioPikaInstrumentor ().uninstrument ()
162- except Exception :
162+ except Exception : # pylint:disable=bare-except
163163 _logger .exception ("Failed to uninstrument AioPikaInstrumentor" )
164164 if HAS_ASYNCPG :
165165 try :
166166 AsyncPGInstrumentor ().uninstrument ()
167- except Exception :
167+ except Exception : # pylint:disable=bare-except
168168 _logger .exception ("Failed to uninstrument AsyncPGInstrumentor" )
169169 if HAS_REDIS :
170170 try :
171171 RedisInstrumentor ().uninstrument ()
172- except Exception :
172+ except Exception : # pylint:disable=bare-except
173173 _logger .exception ("Failed to uninstrument RedisInstrumentor" )
174174 if HAS_BOTOCORE :
175175 try :
176176 BotocoreInstrumentor ().uninstrument ()
177- except Exception :
177+ except Exception : # pylint:disable=bare-except
178178 _logger .exception ("Failed to uninstrument BotocoreInstrumentor" )
179179 if HAS_REQUESTS :
180180 try :
181181 RequestsInstrumentor ().uninstrument ()
182- except Exception :
182+ except Exception : # pylint:disable=bare-except
183183 _logger .exception ("Failed to uninstrument RequestsInstrumentor" )
184184
185185
You can’t perform that action at this time.
0 commit comments