Skip to content

Commit 425a7f3

Browse files
committed
[lint] allow broad exceptions
1 parent 5665a0a commit 425a7f3

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def failsafe(func):
299299
def wrapper(*args, **kwargs):
300300
try:
301301
func(*args, **kwargs)
302-
except Exception:
302+
except Exception: # pylint: disable=W0718
303303
pass
304304

305305
return wrapper

0 commit comments

Comments
 (0)