API: Fix _start_cloudflared raising after first attempt instead of exhausting retries

This commit is contained in:
oobabooga 2026-03-20 15:03:49 -03:00
parent 855141967c
commit 7c79143a14

View file

@ -50,4 +50,4 @@ def _start_cloudflared(port: int, tunnel_id: str, max_attempts: int = 3, on_star
traceback.print_exc()
time.sleep(3)
raise Exception('Could not start cloudflared.')
raise Exception('Could not start cloudflared.')