We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d772b1 commit 53f962eCopy full SHA for 53f962e
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