We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a955f4 commit fd8da15Copy full SHA for fd8da15
1 file changed
api/main.py
@@ -1114,10 +1114,9 @@ def traceback_exception_handler(request: Request, exc: Exception):
1114
)
1115
1116
1117
-"""Workaround to use global exception handlers for versioned API.
1118
-The issue has already been reported here:
1119
-https://github.com/DeanWay/fastapi-versioning/issues/30
1120
-"""
+#Workaround to use global exception handlers for versioned API.
+#The issue has already been reported here:
+#https://github.com/DeanWay/fastapi-versioning/issues/30
1121
for sub_app in versioned_app.routes:
1122
if hasattr(sub_app.app, "add_exception_handler"):
1123
sub_app.app.add_exception_handler(
0 commit comments