mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Follow-up to #5715, from the review findings posted after it merged: - Inside a try that swallows errors, a call to a helper that returns an error response was dropped, so its status went missing. The analyzer now reads such a call in a "returned" mode that keeps the responses the helper builds or returns and drops what it raises. - A handler for http.client.HTTPException was treated as catching FastAPI's HTTPException, since only the last name was compared. Handler classes now resolve through the module's imports, so the 502 that broker.request raises in webstation._cores_reply is kept. - A declared raise inside a swallowing try no longer counts. - Shorten the UNREADABLE_STATUS comment to two lines. Claude-Session: https://claude.ai/code/session_011waFLFaNttxvn8EYtvLSwo Co-authored-by: Claude <noreply@anthropic.com>