raise openapi import error (#11495)

pull/6852/head
Bagatur 1 year ago committed by GitHub
parent 29f5f70415
commit 5470e730d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -266,6 +266,8 @@ def get_openapi_chain(
try:
spec = conversion(spec) # type: ignore[arg-type]
break
except ImportError as e:
raise e
except Exception: # noqa: E722
pass
if isinstance(spec, str):

Loading…
Cancel
Save