Skip to content

Commit a9a62dd

Browse files
pcrespovCopilot
andauthored
Update packages/service-library/src/servicelib/aiohttp/rest_middlewares.py
Co-authored-by: Copilot <[email protected]>
1 parent d680f3c commit a9a62dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service-library/src/servicelib/aiohttp/rest_middlewares.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ async def _middleware_handler(request: web.Request, handler: Handler):
180180
except web.HTTPError as exc: # 4XX and 5XX raised as exceptions
181181
result = _handle_http_error(request, exc)
182182

183-
except web.HTTPSuccessful as exc: # 2XX rased as exceptions
183+
except web.HTTPSuccessful as exc: # 2XX raised as exceptions
184184
result = _handle_http_successful(request, exc)
185185

186186
except web.HTTPRedirection as exc: # 3XX raised as exceptions

0 commit comments

Comments
 (0)