diff --git a/main.py b/main.py index 3c412e3..60c3ad8 100644 --- a/main.py +++ b/main.py @@ -562,8 +562,11 @@ async def proxy( primary_result = None try: primary_result = await execute(target_url) - except Exception: - pass # Falls through to fallback chain + except Exception as e: + print( + f"PROXY EXCEPTION on primary {target_url}: {type(e).__name__}: {e}", + flush=True, + ) # Falls through to fallback chain if primary_result is not None: return primary_result