Fixed route dispatch handling for aiohttp HTTP exceptions.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 2m48s
CI / Tests (Python 3.13) (push) Successful in 2m53s
CI / Tests (Python 3.14) (push) Successful in 2m43s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 2m48s
CI / Tests (Python 3.13) (push) Successful in 2m53s
CI / Tests (Python 3.14) (push) Successful in 2m43s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s
This commit is contained in:
@@ -659,8 +659,8 @@ class RouteDispatcher:
|
||||
type(result).__name__,
|
||||
)
|
||||
return web.Response(status=500)
|
||||
except web.HTTPException as exc:
|
||||
return exc
|
||||
except web.HTTPException:
|
||||
raise
|
||||
except TimeoutError:
|
||||
mod_logger.warning(
|
||||
"Route handler '%s' timed out after %ss.",
|
||||
|
||||
Reference in New Issue
Block a user