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