Spaces:
Sleeping
Sleeping
Update main.py
Browse files181 unmodified lines182183184185185186187188181 unmodified lines result_data = await response.text() return result_data except (asyncio.TimeoutError, aiohttp.ClientError, requests.exceptions.HTTPError) as e: LoggaTesto("ERRORE ASYNC", {e}, false) LoggaTesto("ERRORE ASYNC", {e}, False) if isinstance(e, (asyncio.TimeoutError, requests.exceptions.HTTPError)) and e.response.status in [502, 504]: break await asyncio.sleep(3) main.py+1-1