chore: strip orphaned whitespace-only line in rate-limit event handler

Cosmetic cleanup of a leftover whitespace line after the rate_limit_event
branch in _handle_event (from 6ac8d3b), no functional change.
This commit is contained in:
Claudius Magicus 2026-08-07 16:09:12 +02:00
parent 7e48b82b22
commit 8f0d99100b
1 changed files with 1 additions and 1 deletions

View File

@ -1021,7 +1021,7 @@ async def _handle_event(
if status in ("allowed_warning", "rejected"):
yield f"\n\n_{line}_\n"
return
if etype == "result":
subtype = event.get("subtype")
if subtype and subtype != "success":