style(chatgpt): keep hook rationale within line limit

This commit is contained in:
jibanez-staticduo 2026-09-09 12:16:23 +02:00
parent d482638d5f
commit d5f352823b
No known key found for this signature in database

View file

@ -195,7 +195,7 @@ async def codex_realtime_sideband(websocket: WebSocket, token: str, auth: UserAP
}
try:
processed: Final = await process_codex_request(request, data, auth, call.alias, "_arealtime")
except Exception: # noqa: BLE001 # user-defined pre-call hooks may raise any exception; always reject the connection
except Exception: # noqa: BLE001 # custom hook exceptions must reject the connection
verbose_proxy_logger.exception("Realtime sideband pre-call rejected")
await websocket.close(code=1008, reason="Realtime pre-call rejected")
return