Updated route dispatch to properly handle aiohttp HTTP exceptions.
CI / Formatting (push) Successful in 21s
CI / Linting (push) Successful in 4s
CI / Tests (Python 3.12) (push) Successful in 2m53s
CI / Tests (Python 3.13) (push) Successful in 2m52s
CI / Tests (Python 3.14) (push) Successful in 2m42s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s
CI / Formatting (push) Successful in 21s
CI / Linting (push) Successful in 4s
CI / Tests (Python 3.12) (push) Successful in 2m53s
CI / Tests (Python 3.13) (push) Successful in 2m52s
CI / Tests (Python 3.14) (push) Successful in 2m42s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s
This commit is contained in:
@@ -161,7 +161,7 @@ async def editor_submit(ctx: RouteContext) -> web.Response:
|
||||
clip_url = ctx.routes.url_for(f"/view/{clip.id}")
|
||||
await ctx.owncast_client.send_message(f"{clip.creator} created a clip: {clip_url}")
|
||||
|
||||
return web.HTTPFound(clip_url)
|
||||
raise web.HTTPFound(clip_url)
|
||||
|
||||
|
||||
@on_route("/view/{clip_id}", methods=["GET"])
|
||||
|
||||
Reference in New Issue
Block a user