Skip to content

Commit 43092e2

Browse files
committed
fix comment
1 parent 7e100e4 commit 43092e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service-library/src/servicelib/fastapi/monitoring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def dispatch(
5454
status_code = response.status_code
5555
except Exception: # pylint: disable=broad-except
5656
# NOTE: The prometheus metrics middleware should be "outside" exception handling
57-
# middleware so at this point starlette should turn an exception into a 500
57+
# middleware. See https://fastapi.tiangolo.com/advanced/middleware/#adding-asgi-middlewares
5858
status_code = status.HTTP_500_INTERNAL_SERVER_ERROR
5959
raise
6060
finally:

0 commit comments

Comments
 (0)