Preserve Telegram onboarding fallback errors

This commit is contained in:
Shannon Sands
2026-06-07 19:48:09 -07:00
committed by Teknium
parent ba29010902
commit 86e5efb0ae
2 changed files with 25 additions and 0 deletions
+5
View File
@@ -3500,6 +3500,11 @@ def _telegram_onboarding_request_sync(
status_code=502,
detail="Telegram setup service is unavailable. Try again shortly.",
) from exc
except Exception as exc:
raise HTTPException(
status_code=502,
detail="Telegram setup service is unavailable. Try again shortly.",
) from exc
try:
parsed = response.json()